本文整理了Java中org.apache.catalina.Server.init()
方法的一些代码示例,展示了Server.init()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Server.init()
方法的具体详情如下:
包路径:org.apache.catalina.Server
类名称:Server
方法名:init
[英]Invoke a pre-startup initialization. This is used to allow connectors to bind to restricted ports under Unix operating environments.
[中]调用启动前初始化。这用于允许连接器在Unix操作环境下绑定到受限端口。
代码示例来源:origin: stackoverflow.com
@PostConstruct
public void initAllServers() {
for (Server server: servers) {
server.init();
}
}
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
/**
* Initialize the server.
*
* @throws LifecycleException Init error
*/
public void init() throws LifecycleException {
getServer();
server.init();
}
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
/**
* Initialize the server.
*
* @throws LifecycleException Init error
*/
public void init() throws LifecycleException {
getServer();
server.init();
}
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
/**
* Initialise the server.
*
* @throws LifecycleException
*/
public void init() throws LifecycleException {
getServer();
getConnector();
server.init();
}
代码示例来源:origin: codefollower/Tomcat-Research
/**
* Initialise the server.
*
* @throws LifecycleException
*/
public void init() throws LifecycleException {
getServer();
getConnector();
server.init();
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
/**
* Initialise the server.
*
* @throws LifecycleException
*/
public void init() throws LifecycleException {
getServer();
getConnector();
server.init();
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
/**
* Initialise the server.
*
* @throws LifecycleException
*/
public void init() throws LifecycleException {
getServer();
getConnector();
server.init();
}
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
/**
* Initialise the server.
*
* @throws LifecycleException
*/
public void init() throws LifecycleException {
getServer();
getConnector();
server.init();
}
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
/**
* Initialise the server.
*
* @throws LifecycleException
*/
public void init() throws LifecycleException {
getServer();
getConnector();
server.init();
}
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
getServer().init();
} catch (LifecycleException e) {
if (Boolean.getBoolean("org.apache.catalina.startup.EXIT_ON_INIT_FAILURE")) {
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
getServer().init();
} catch (LifecycleException e) {
if (Boolean.getBoolean("org.apache.catalina.startup.EXIT_ON_INIT_FAILURE"))
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
getServer().init();
} catch (LifecycleException e) {
if (Boolean.getBoolean("org.apache.catalina.startup.EXIT_ON_INIT_FAILURE"))
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
getServer().init();
} catch (LifecycleException e) {
if (Boolean.getBoolean("org.apache.catalina.startup.EXIT_ON_INIT_FAILURE"))
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
getServer().init();
} catch (LifecycleException e) {
if (Boolean.getBoolean("org.apache.catalina.startup.EXIT_ON_INIT_FAILURE")) {
代码示例来源:origin: codefollower/Tomcat-Research
getServer().init();
} catch (LifecycleException e) {
if (Boolean.getBoolean("org.apache.catalina.startup.EXIT_ON_INIT_FAILURE")) {
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
getServer().init();
} catch (LifecycleException e) {
if (Boolean.getBoolean("org.apache.catalina.startup.EXIT_ON_INIT_FAILURE")) {
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
getServer().init();
} catch (LifecycleException e) {
if (Boolean.getBoolean("org.apache.catalina.startup.EXIT_ON_INIT_FAILURE")) {
内容来源于网络,如有侵权,请联系作者删除!