Class ServletContextHandler.Initializer
java.lang.Object
org.eclipse.jetty.util.component.AbstractLifeCycle
org.eclipse.jetty.servlet.ServletContextHandler.Initializer
- All Implemented Interfaces:
ServletContextHandler.ServletContainerInitializerCaller, LifeCycle
- Enclosing class:
ServletContextHandler
public static class ServletContextHandler.Initializer
extends AbstractLifeCycle
implements ServletContextHandler.ServletContainerInitializerCaller
A utility class to hold a
ServletContainerInitializer and implement the
ServletContextHandler.ServletContainerInitializerCaller interface so that the SCI is correctly
started if an instance of this class is added as a bean to a ServletContextHandler.-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListenerNested classes/interfaces inherited from interface LifeCycle
LifeCycle.Listener -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionInitializer(ServletContextHandler context, javax.servlet.ServletContainerInitializer sci) Initializer(ServletContextHandler context, javax.servlet.ServletContainerInitializer sci, Set<Class<?>> classes) -
Method Summary
Methods inherited from class AbstractLifeCycle
addLifeCycleListener, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface LifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
-
Constructor Details
-
Initializer
public Initializer(ServletContextHandler context, javax.servlet.ServletContainerInitializer sci, Set<Class<?>> classes) -
Initializer
-
-
Method Details
-
doStart
- Overrides:
doStartin classAbstractLifeCycle- Throws:
Exception
-