Class ServletContextHandlerFactory

Object
ServletContextHandlerFactory
All Implemented Interfaces:
Factory<ServletContextHandler>

@Service(name="jetty.server") @RunLevel(4) public class ServletContextHandlerFactory extends Object implements Factory<ServletContextHandler>
  • Constructor Details

    • ServletContextHandlerFactory

      @Inject public ServletContextHandlerFactory(Server server, Configuration configuration, ServiceLocator serviceLocator, IterableProvider<SecurityHandler> securityHandlerProvider, MetricRegistry metricRegistry)
  • Method Details

    • provide

      @Singleton @Named("jetty.server") public ServletContextHandler provide()
      Specified by:
      provide in interface Factory<ServletContextHandler>
    • dispose

      public void dispose(ServletContextHandler instance)
      Specified by:
      dispose in interface Factory<ServletContextHandler>