Class ExtendedStandardService
- java.lang.Object
-
- org.apache.catalina.util.LifecycleBase
-
- org.apache.catalina.util.LifecycleMBeanBase
-
- org.apache.catalina.core.StandardService
-
- org.wso2.carbon.tomcat.ext.service.ExtendedStandardService
-
- All Implemented Interfaces:
MBeanRegistration,org.apache.catalina.JmxEnabled,org.apache.catalina.Lifecycle,org.apache.catalina.Service
public class ExtendedStandardService extends org.apache.catalina.core.StandardServiceExtending theStandardServiceclass to stop starting tomcat connectors. The connectors will be started after all the bundle wiring completed.LifecycleBase.start()
-
-
Field Summary
-
Fields inherited from class org.apache.catalina.core.StandardService
connectors, executors, mapper, mapperListener, support
-
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_DESTROY_EVENT, AFTER_INIT_EVENT, AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_DESTROY_EVENT, BEFORE_INIT_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, CONFIGURE_START_EVENT, CONFIGURE_STOP_EVENT, PERIODIC_EVENT, START_EVENT, STOP_EVENT
-
-
Constructor Summary
Constructors Constructor Description ExtendedStandardService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidstartInternal()Exact same functionality asStandardService.startInternal()method.-
Methods inherited from class org.apache.catalina.core.StandardService
addConnector, addExecutor, addPropertyChangeListener, destroyInternal, findConnectors, findExecutors, getConnectorNames, getContainer, getDomainInternal, getExecutor, getGracefulStopAwaitMillis, getMapper, getName, getObjectNameKeyProperties, getParentClassLoader, getServer, initInternal, removeConnector, removeExecutor, removePropertyChangeListener, setContainer, setGracefulStopAwaitMillis, setName, setParentClassLoader, setServer, stopInternal, toString
-
Methods inherited from class org.apache.catalina.util.LifecycleMBeanBase
getDomain, getObjectName, postDeregister, postRegister, preDeregister, preRegister, register, setDomain, unregister, unregister
-
Methods inherited from class org.apache.catalina.util.LifecycleBase
addLifecycleListener, destroy, findLifecycleListeners, fireLifecycleEvent, getState, getStateName, getThrowOnFailure, init, removeLifecycleListener, setState, setState, setThrowOnFailure, start, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
startInternal
protected void startInternal() throws org.apache.catalina.LifecycleExceptionExact same functionality asStandardService.startInternal()method. But the overridden method does not start connectors.- Overrides:
startInternalin classorg.apache.catalina.core.StandardService- Throws:
org.apache.catalina.LifecycleException
-
-