Class 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.StandardService
    Extending the StandardService class to stop starting tomcat connectors. The connectors will be started after all the bundle wiring completed. LifecycleBase.start()
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.catalina.Lifecycle

        org.apache.catalina.Lifecycle.SingleUse
    • Field Summary

      • Fields inherited from class org.apache.catalina.core.StandardService

        connectors, executors, mapper, mapperListener, support
      • Fields inherited from class org.apache.catalina.util.LifecycleMBeanBase

        mserver
      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void startInternal()
      Exact same functionality as StandardService.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 interface org.apache.catalina.Lifecycle

        addLifecycleListener, destroy, findLifecycleListeners, getState, getStateName, init, removeLifecycleListener, start, stop
      • Methods inherited from interface org.apache.catalina.Service

        getDomain
    • Constructor Detail

      • ExtendedStandardService

        public ExtendedStandardService()
    • Method Detail

      • startInternal

        protected void startInternal()
                              throws org.apache.catalina.LifecycleException
        Exact same functionality as StandardService.startInternal() method. But the overridden method does not start connectors.
        Overrides:
        startInternal in class org.apache.catalina.core.StandardService
        Throws:
        org.apache.catalina.LifecycleException