Module org.eclipse.jetty.servlet
Package org.eclipse.jetty.servlet
Class ServletContextHandler.ServletContainerInitializerStarter
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.util.component.ContainerLifeCycle
-
- org.eclipse.jetty.servlet.ServletContextHandler.ServletContainerInitializerStarter
-
- All Implemented Interfaces:
ServletContextHandler.ServletContainerInitializerCaller
,org.eclipse.jetty.util.component.Container
,org.eclipse.jetty.util.component.Destroyable
,org.eclipse.jetty.util.component.Dumpable
,org.eclipse.jetty.util.component.Dumpable.DumpableContainer
,org.eclipse.jetty.util.component.LifeCycle
- Enclosing class:
- ServletContextHandler
public static class ServletContextHandler.ServletContainerInitializerStarter extends org.eclipse.jetty.util.component.ContainerLifeCycle implements ServletContextHandler.ServletContainerInitializerCaller
Bean that is added to the ServletContextHandler to start all of the ServletContainerInitializers by starting their corresponding ServletContainerInitializerHolders when this bean is itself started. Note that the SCIs will be started in order of addition.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopException
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Container
org.eclipse.jetty.util.component.Container.InheritedListener, org.eclipse.jetty.util.component.Container.Listener
-
-
Constructor Summary
Constructors Constructor Description ServletContainerInitializerStarter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addServletContainerInitializerHolders(ServletContainerInitializerHolder... holders)
protected void
doStart()
protected void
doStop()
java.util.Collection<ServletContainerInitializerHolder>
getServletContainerInitializerHolders()
-
Methods inherited from class org.eclipse.jetty.util.component.ContainerLifeCycle
addBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeans
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.util.component.Container
getCachedBeans, getEventListeners
-
-
-
-
Method Detail
-
addServletContainerInitializerHolders
public void addServletContainerInitializerHolders(ServletContainerInitializerHolder... holders)
-
getServletContainerInitializerHolders
public java.util.Collection<ServletContainerInitializerHolder> getServletContainerInitializerHolders()
-
doStart
protected void doStart() throws java.lang.Exception
- Overrides:
doStart
in classorg.eclipse.jetty.util.component.ContainerLifeCycle
- Throws:
java.lang.Exception
-
doStop
protected void doStop() throws java.lang.Exception
- Overrides:
doStop
in classorg.eclipse.jetty.util.component.ContainerLifeCycle
- Throws:
java.lang.Exception
-
-