Class ServletContextHandler.ServletContainerInitializerStarter
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.util.component.ContainerLifeCycle
org.eclipse.jetty.ee9.servlet.ServletContextHandler.ServletContainerInitializerStarter
- All Implemented Interfaces:
- ServletContextHandler.ServletContainerInitializerCaller, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
- Enclosing class:
- ServletContextHandler
public static class ServletContextHandler.ServletContainerInitializerStarter
extends 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 SummaryNested classes/interfaces inherited from class AbstractLifeCycleAbstractLifeCycle.AbstractLifeCycleListener, AbstractLifeCycle.StopExceptionNested classes/interfaces inherited from interface ContainerContainer.InheritedListener, Container.ListenerNested classes/interfaces inherited from interface DumpableDumpable.DumpableContainerNested classes/interfaces inherited from interface LifeCycleLifeCycle.Listener
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class ContainerLifeCycleaddBean, addBean, addEventListener, addManaged, contains, destroy, dump, dump, dump, dumpObjects, dumpStdErr, getBean, getBeans, getBeans, getContainedBeans, getContainedBeans, installBean, installBean, isAuto, isManaged, isUnmanaged, manage, removeBean, removeBeans, removeEventListener, setBeans, start, stop, unmanage, updateBean, updateBean, updateBeans, updateBeansMethods inherited from class AbstractLifeCyclegetEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, setEventListeners, start, stop, toStringMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ContainergetCachedBeans, getEventListenersMethods inherited from interface Dumpable.DumpableContainerisDumpableMethods inherited from interface LifeCycleaddEventListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, start, stop
- 
Constructor Details- 
ServletContainerInitializerStarterpublic ServletContainerInitializerStarter()
 
- 
- 
Method Details- 
addServletContainerInitializerHolders
- 
getServletContainerInitializerHolders
- 
doStartDescription copied from class:ContainerLifeCycleStarts the managed lifecycle beans in the order they were added.- Overrides:
- doStartin class- ContainerLifeCycle
- Throws:
- Exception- If there was a problem starting. Will cause a transition to FAILED state
 
- 
doStopDescription copied from class:ContainerLifeCycleStops the managed lifecycle beans in the reverse order they were added.- Overrides:
- doStopin class- ContainerLifeCycle
- Throws:
- Exception- If there was a problem stopping. Will cause a transition to FAILED state
 
 
-