Package org.eclipse.jetty.servlet
Class ServletContextHandler.Initializer
- java.lang.Object
-
- org.eclipse.jetty.util.component.AbstractLifeCycle
-
- org.eclipse.jetty.servlet.ServletContextHandler.Initializer
-
- All Implemented Interfaces:
ServletContextHandler.ServletContainerInitializerCaller
,org.eclipse.jetty.util.component.LifeCycle
- Enclosing class:
- ServletContextHandler
public static class ServletContextHandler.Initializer extends org.eclipse.jetty.util.component.AbstractLifeCycle implements ServletContextHandler.ServletContainerInitializerCaller
A utility class to hold aServletContainerInitializer
and implement theServletContextHandler.ServletContainerInitializerCaller
interface so that the SCI is correctly started if an instance of this class is added as a bean to aServletContextHandler
.
-
-
Constructor Summary
Constructors Constructor Description Initializer(ServletContextHandler context, javax.servlet.ServletContainerInitializer sci)
Initializer(ServletContextHandler context, javax.servlet.ServletContainerInitializer sci, java.util.Set<java.lang.Class<?>> classes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doStart()
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, doStop, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString
-
-
-
-
Constructor Detail
-
Initializer
public Initializer(ServletContextHandler context, javax.servlet.ServletContainerInitializer sci, java.util.Set<java.lang.Class<?>> classes)
-
Initializer
public Initializer(ServletContextHandler context, javax.servlet.ServletContainerInitializer sci)
-
-