本文整理匯總了Java中com.stratio.crossdata.connectors.ConnectorApp類的典型用法代碼示例。如果您正苦於以下問題:Java ConnectorApp類的具體用法?Java ConnectorApp怎麽用?Java ConnectorApp使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ConnectorApp類屬於com.stratio.crossdata.connectors包,在下文中一共展示了ConnectorApp類的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: main
import com.stratio.crossdata.connectors.ConnectorApp; //導入依賴的package包/類
/**
* Main uses to associate the connector to Crossdata.
*
* @param args
* Args
* @throws InitializationException
*/
public static void main(String[] args) throws InitializationException{
DeepConnector deepConnector = new DeepConnector();
ConnectorApp connectorApp = new ConnectorApp();
connectorApp.startup(deepConnector);
deepConnector.attachShutDownHook();
}
示例2: main
import com.stratio.crossdata.connectors.ConnectorApp; //導入依賴的package包/類
/**
* Run a Skeleton Connector using a {@link com.stratio.crossdata.connectors.ConnectorApp}.
* @param args The arguments.
*/
public static void main(String [] args){
IRCConnector ircConnector = new IRCConnector();
ConnectorApp connectorApp = new ConnectorApp();
connectorApp.startup(ircConnector);
}
示例3: main
import com.stratio.crossdata.connectors.ConnectorApp; //導入依賴的package包/類
/**
* Run a Skeleton Connector using a {@link com.stratio.crossdata.connectors.ConnectorApp}.
* @param args The arguments.
*/
public static void main(String [] args){
SkeletonConnector skeletonConnector = new SkeletonConnector();
ConnectorApp connectorApp = new ConnectorApp();
connectorApp.startup(skeletonConnector);
}