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

@Deprecated public static class ServletContextHandler.Initializer extends org.eclipse.jetty.util.component.AbstractLifeCycle implements ServletContextHandler.ServletContainerInitializerCaller
Deprecated.
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

    org.eclipse.jetty.util.component.AbstractLifeCycle.AbstractLifeCycleListener, org.eclipse.jetty.util.component.AbstractLifeCycle.StopException

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.LifeCycle

    org.eclipse.jetty.util.component.LifeCycle.Listener
  • Field Summary

    Fields inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    FAILED, STARTED, STARTING, STOPPED, STOPPING
  • Constructor Summary

    Constructors
    Constructor
    Description
    Initializer(ServletContextHandler context, jakarta.servlet.ServletContainerInitializer sci)
    Deprecated.
     
    Initializer(ServletContextHandler context, jakarta.servlet.ServletContainerInitializer sci, Set<Class<?>> classes)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Deprecated.
     

    Methods inherited from class org.eclipse.jetty.util.component.AbstractLifeCycle

    addEventListener, doStop, getEventListeners, getState, getState, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, setEventListeners, start, stop, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.util.component.LifeCycle

    addEventListener, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeEventListener, start, stop
  • Constructor Details

    • Initializer

      public Initializer(ServletContextHandler context, jakarta.servlet.ServletContainerInitializer sci, Set<Class<?>> classes)
      Deprecated.
    • Initializer

      public Initializer(ServletContextHandler context, jakarta.servlet.ServletContainerInitializer sci)
      Deprecated.
  • Method Details

    • doStart

      protected void doStart() throws Exception
      Deprecated.
      Overrides:
      doStart in class org.eclipse.jetty.util.component.AbstractLifeCycle
      Throws:
      Exception