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
,LifeCycle
- Enclosing class:
- ServletContextHandler
@Deprecated(since="2021-05-27") public static class ServletContextHandler.Initializer extends AbstractLifeCycle implements ServletContextHandler.ServletContainerInitializerCaller
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.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
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
-
Constructor Summary
Constructors Constructor Description Initializer(ServletContextHandler context, ServletContainerInitializer sci)
Deprecated.Initializer(ServletContextHandler context, ServletContainerInitializer sci, Set<Class<?>> classes)
Deprecated.
-
Method Summary
-
Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle
addLifeCycleListener, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle
addLifeCycleListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, start, stop
-
-
-
-
Constructor Detail
-
Initializer
public Initializer(ServletContextHandler context, ServletContainerInitializer sci, Set<Class<?>> classes)
Deprecated.
-
Initializer
public Initializer(ServletContextHandler context, ServletContainerInitializer sci)
Deprecated.
-
-