本文整理了Java中org.apache.catalina.startup.Bootstrap.init()
方法的一些代码示例,展示了Bootstrap.init()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Bootstrap.init()
方法的具体详情如下:
包路径:org.apache.catalina.startup.Bootstrap
类名称:Bootstrap
方法名:init
[英]Initialize daemon.
[中]初始化守护进程。
代码示例来源:origin: org.glassfish.main.web/web-core
/**
* Start the Catalina daemon.
*/
public void start()
throws Exception {
if( catalinaDaemon==null ) init();
Method method = catalinaDaemon.getClass().getMethod("start",(Class[])null);
method.invoke(catalinaDaemon, (Object[])null);
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* Start the Catalina daemon.
*/
public void start()
throws Exception {
if( catalinaDaemon==null ) init();
Method method = catalinaDaemon.getClass().getMethod("start", (Class [] )null);
method.invoke(catalinaDaemon, (Object [])null);
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
/**
* Start the Catalina daemon.
* @throws Exception Fatal start error
*/
public void start()
throws Exception {
if( catalinaDaemon==null ) init();
Method method = catalinaDaemon.getClass().getMethod("start", (Class [] )null);
method.invoke(catalinaDaemon, (Object [])null);
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
/**
* Start the Catalina daemon.
*/
public void start()
throws Exception {
if( catalinaDaemon==null ) init();
Method method = catalinaDaemon.getClass().getMethod("start", (Class [] )null);
method.invoke(catalinaDaemon, (Object [])null);
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* Start the Catalina daemon.
*/
public void start()
throws Exception {
if( catalinaDaemon==null ) init();
Method method = catalinaDaemon.getClass().getMethod("start", (Class [] )null);
method.invoke(catalinaDaemon, (Object [])null);
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Start the Catalina daemon.
*/
public void start()
throws Exception {
if( catalinaDaemon==null ) init();
Method method = catalinaDaemon.getClass().getMethod("start", (Class [] )null);
method.invoke(catalinaDaemon, (Object [])null);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* Start the Catalina daemon.
*/
public void start()
throws Exception {
if( catalinaDaemon==null ) init();
Method method = catalinaDaemon.getClass().getMethod("start", (Class [] )null);
method.invoke(catalinaDaemon, (Object [])null);
}
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
/**
* Start the Catalina daemon.
* @throws Exception Fatal start error
*/
public void start()
throws Exception {
if( catalinaDaemon==null ) init();
Method method = catalinaDaemon.getClass().getMethod("start", (Class [] )null);
method.invoke(catalinaDaemon, (Object [])null);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Start the Catalina daemon.
*/
public void start()
throws Exception {
if( catalinaDaemon==null ) init();
Method method = catalinaDaemon.getClass().getMethod("start", (Class [] )null);
method.invoke(catalinaDaemon, (Object [])null);
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* Load the Catalina daemon.
*/
public void init(String[] arguments)
throws Exception {
init();
load(arguments);
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
/**
* Load the Catalina daemon.
* @param arguments Initialization arguments
* @throws Exception Fatal initialization error
*/
public void init(String[] arguments)
throws Exception {
init();
load(arguments);
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Load the Catalina daemon.
*/
public void init(String[] arguments)
throws Exception {
init();
load(arguments);
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* Load the Catalina daemon.
*/
public void init(String[] arguments)
throws Exception {
init();
load(arguments);
}
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
/**
* Load the Catalina daemon.
* @param arguments Initialization arguments
* @throws Exception Fatal initialization error
*/
public void init(String[] arguments)
throws Exception {
init();
load(arguments);
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
/**
* Load the Catalina daemon.
*/
public void init(String[] arguments)
throws Exception {
init();
load(arguments);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Load the Catalina daemon.
*/
public void init(String[] arguments)
throws Exception {
init();
load(arguments);
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* Load the Catalina daemon.
*/
public void init(String[] arguments)
throws Exception {
init();
load(arguments);
}
代码示例来源:origin: org.glassfish.main.web/web-core
/**
* Load the Catalina daemon.
*/
public void init(String[] arguments)
throws Exception {
// Read the arguments
if (arguments != null) {
for (int i = 0; i < arguments.length; i++) {
if (arguments[i].equals("-debug")) {
debug = 1;
}
}
}
init();
load(arguments);
}
代码示例来源:origin: t7mp/maven-t7-plugin
public void startBootstrapInstance(MavenPluginContext pluginContext) {
this.log = pluginContext.getLog();
this.configuration = pluginContext.getConfiguration();
List<Stoppable> stoppables = Lists.newArrayList();
getSetupStepSequence().execute(pluginContext);
PrintStream originalSystemErr = System.err;
bootstrap = getBootstrap();
log.info("Starting Tomcat ...");
try {
File catalinaout = new File(configuration.getCatalinaBase(), "/logs/catalina.out");
CatalinaOutPrintStream catalinaOutputStream = new CatalinaOutPrintStream(originalSystemErr, new FileOutputStream(catalinaout),
configuration.isSuspendConsoleOutput());
System.setErr(catalinaOutputStream);
bootstrap.init();
final BootstrapShutdownHook shutdownHook = new BootstrapShutdownHook();
List<Stoppable> stoppableScanner = ScannerSetup.configureScanners(shutdownHook, configuration, log);
stoppables.addAll(stoppableScanner);
bootstrap.start();
Runtime.getRuntime().addShutdownHook(shutdownHook);
log.info("Tomcat started");
} catch (Exception e) {
throw new RuntimeException(e.getMessage(), e);
}
stoppables.add(new StoppableBootstrapAdapter(bootstrap));
pluginContext.getMojo().getPluginContext().put(AbstractT7BaseMojo.T7_BOOTSTRAP_CONTEXT_ID, stoppables);
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
bootstrap.init();
} catch (Throwable t) {
handleThrowable(t);
内容来源于网络,如有侵权,请联系作者删除!