本文整理汇总了Java中org.tanukisoftware.wrapper.WrapperManager.start方法的典型用法代码示例。如果您正苦于以下问题:Java WrapperManager.start方法的具体用法?Java WrapperManager.start怎么用?Java WrapperManager.start使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.tanukisoftware.wrapper.WrapperManager
的用法示例。
在下文中一共展示了WrapperManager.start方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: SOCVFinderServiceWrapper
import org.tanukisoftware.wrapper.WrapperManager; //导入方法依赖的package包/类
/**
* Creates an instance of a WrapperSimpleApp.
*
* @param The
* full list of arguments passed to the JVM.
*/
protected SOCVFinderServiceWrapper(String args[]) {
// Initialize the WrapperManager class on startup by referencing it.
@SuppressWarnings("unused")
Class<WrapperManager> wmClass = WrapperManager.class;
// Start the application. If the JVM was launched from the native
// Wrapper then the application will wait for the native Wrapper to
// call the application's start method. Otherwise the start method
// will be called immediately.
WrapperManager.start(this, args);
// This thread ends, the WrapperManager will start the application after
// the Wrapper has
// been properly initialized by calling the start method above.
}
示例2: main
import org.tanukisoftware.wrapper.WrapperManager; //导入方法依赖的package包/类
/**
* @param args
*/
public static void main(String[] args) throws Exception {
// Configure Log4J
PropertyConfigurator.configure(Configuration.getInstance().getConfigurationFile()
.getAbsolutePath());
// Create JSR-160 enabled MBean Server
createJSR160Server();
// Register Wrapper MBean
registerMBean(new org.tanukisoftware.wrapper.jmx.WrapperManager(),
"KeikoSniffer:type=server");
// Start server
WrapperManager.start(new KeikoSniffer(), args);
}
示例3: main
import org.tanukisoftware.wrapper.WrapperManager; //导入方法依赖的package包/类
/**
* Main entry point
* @param argv command-line args
*/
public static void main(String[] argv) {
Main m = new Main();
WrapperManager.start(m, argv);
if (log.isDebugEnabled()) {
log.debug("Returned from WrapperManager.start");
}
}
示例4: main
import org.tanukisoftware.wrapper.WrapperManager; //导入方法依赖的package包/类
public static void main(String[] args) {
WrapperManager.start(new HelloWorld(), args);
}
示例5: main
import org.tanukisoftware.wrapper.WrapperManager; //导入方法依赖的package包/类
public static void main(String[] args) {
WrapperManager.start(new CoordinatorWrapper(), args);
}
示例6: main
import org.tanukisoftware.wrapper.WrapperManager; //导入方法依赖的package包/类
public static void main(String[] args) {
WrapperManager.start(new StandaloneWrapper(), args);
}
示例7: main
import org.tanukisoftware.wrapper.WrapperManager; //导入方法依赖的package包/类
public static void main(String[] args) {
WrapperManager.start(new WorkerWrapper(), args);
}
示例8: main
import org.tanukisoftware.wrapper.WrapperManager; //导入方法依赖的package包/类
public static void main(String[] args) {
WrapperManager.start(new UiServerWrapper(), args);
}
示例9: main
import org.tanukisoftware.wrapper.WrapperManager; //导入方法依赖的package包/类
public static void main(String[] args) {
WrapperManager.start(new FrontierWrapper(), args);
}
示例10: registerImplementation
import org.tanukisoftware.wrapper.WrapperManager; //导入方法依赖的package包/类
/**
* Registers the daemon implementation with the Tanuki wrapper
* @param argv startup parameters (if any)
*/
protected void registerImplementation(String[] argv) {
WrapperManager.start(this, argv);
}