本文整理了Java中org.apache.catalina.connector.Connector.init()
方法的一些代码示例,展示了Connector.init()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Connector.init()
方法的具体详情如下:
包路径:org.apache.catalina.connector.Connector
类名称:Connector
方法名:init
[英]Initialize this connector (create ServerSocket here!)
[中]初始化此连接器(在此处创建ServerSocket!)
代码示例来源:origin: org.jboss.web/jbossweb
if (initialized) {
try {
connector.init();
} catch (LifecycleException e) {
CatalinaLogger.CORE_LOGGER.errorInitializingConnector(e);
代码示例来源:origin: org.apache.tomcat/tomcat-catalina
/**
* Invoke a pre-startup initialization. This is used to allow connectors
* to bind to restricted ports under Unix operating environments.
*/
@Override
protected void initInternal() throws LifecycleException {
super.initInternal();
if (engine != null) {
engine.init();
}
// Initialize any Executors
for (Executor executor : findExecutors()) {
if (executor instanceof JmxEnabled) {
((JmxEnabled) executor).setDomain(getDomain());
}
executor.init();
}
// Initialize mapper listener
mapperListener.init();
// Initialize our defined Connectors
synchronized (connectorsLock) {
for (Connector connector : connectors) {
connector.init();
}
}
}
代码示例来源:origin: org.jboss.web/jbossweb
synchronized (connectors) {
for (int i = 0; i < connectors.length; i++) {
connectors[i].init();
代码示例来源:origin: org.mobicents.servlet.sip.containers/sip-servlets-as7
connector.setService(this);
connector.init();
addConnector(connector);
MobicentsExtendedListeningPoint extendedListeningPoint = (MobicentsExtendedListeningPoint)
代码示例来源:origin: org.mobicents.servlet.sip.containers/sip-servlets-catalina
connector.setService(this);
connector.setContainer(container);
connector.init();
addConnector(connector);
MobicentsExtendedListeningPoint extendedListeningPoint = (MobicentsExtendedListeningPoint)
代码示例来源:origin: org.apache.catalina/com.springsource.org.apache.catalina
for (Connector connector : connectors) {
try {
connector.init();
} catch (Exception e) {
String message = sm.getString(
代码示例来源:origin: com.ovea.tajin.servers/tajin-server-jetty9
for (Connector connector : connectors) {
try {
connector.init();
} catch (Exception e) {
String message = sm.getString(
代码示例来源:origin: com.ovea.tajin.server/tajin-server-tomcat7
for (Connector connector : connectors) {
try {
connector.init();
} catch (Exception e) {
String message = sm.getString(
代码示例来源:origin: com.ovea.tajin.server/tajin-server-jetty9
for (Connector connector : connectors) {
try {
connector.init();
} catch (Exception e) {
String message = sm.getString(
代码示例来源:origin: org.apache.geronimo.ext.tomcat/catalina
for (Connector connector : connectors) {
try {
connector.init();
} catch (Exception e) {
String message = sm.getString(
代码示例来源:origin: org.ops4j.pax.tipi/org.ops4j.pax.tipi.tomcat-embed-core
/**
* Invoke a pre-startup initialization. This is used to allow connectors
* to bind to restricted ports under Unix operating environments.
*/
@Override
protected void initInternal() throws LifecycleException {
super.initInternal();
if (engine != null) {
engine.init();
}
// Initialize any Executors
for (Executor executor : findExecutors()) {
if (executor instanceof JmxEnabled) {
((JmxEnabled) executor).setDomain(getDomain());
}
executor.init();
}
// Initialize mapper listener
mapperListener.init();
// Initialize our defined Connectors
synchronized (connectorsLock) {
for (Connector connector : connectors) {
connector.init();
}
}
}
代码示例来源:origin: codefollower/Tomcat-Research
for (Connector connector : connectors) {
try {
connector.init();
} catch (Exception e) {
String message = sm.getString(
代码示例来源:origin: org.jboss.web/jbossweb
init();
内容来源于网络,如有侵权,请联系作者删除!