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 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 org.eclipse.jetty.util.component.AbstractLifeCycle
AbstractLifeCycle.AbstractLifeCycleListener
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle
LifeCycle.Listener
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionInitializer
(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 Details
-
Initializer
public Initializer(ServletContextHandler context, ServletContainerInitializer sci, Set<Class<?>> classes) Deprecated. -
Initializer
Deprecated.
-