## Uses of Interface
org.eclipse.jetty.util.component.LifeCycle

- Packages that use LifeCycle
  Package | Description
  --- | ---
  org.eclipse.jetty.ajp |
  org.eclipse.jetty.client |
  org.eclipse.jetty.deploy |
  org.eclipse.jetty.deploy.providers |
  org.eclipse.jetty.http |
  org.eclipse.jetty.io.nio |
  org.eclipse.jetty.jmx |
  org.eclipse.jetty.nested |
  org.eclipse.jetty.plus.jaas |
  org.eclipse.jetty.plus.security |
  org.eclipse.jetty.rewrite.handler |
  org.eclipse.jetty.security |
  org.eclipse.jetty.server |
  org.eclipse.jetty.server.bio |
  org.eclipse.jetty.server.handler |
  org.eclipse.jetty.server.nio |
  org.eclipse.jetty.server.session |
  org.eclipse.jetty.server.ssl |
  org.eclipse.jetty.servlet |
  org.eclipse.jetty.util |
  org.eclipse.jetty.util.component |
  org.eclipse.jetty.util.preventers |
  org.eclipse.jetty.util.ssl |
  org.eclipse.jetty.util.thread |
  org.eclipse.jetty.webapp |
  org.eclipse.jetty.websocket |

- - ### Uses of LifeCycle in org.eclipse.jetty.ajp

    Classes in org.eclipse.jetty.ajp that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Ajp13SocketConnector`

  - ### Uses of LifeCycle in org.eclipse.jetty.client

    Classes in org.eclipse.jetty.client that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HttpClient` Http Client.

  - ### Uses of LifeCycle in org.eclipse.jetty.deploy

    Subinterfaces of LifeCycle in org.eclipse.jetty.deploy
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `AppProvider` Object responsible for providing `App`s to the `DeploymentManager`

    Classes in org.eclipse.jetty.deploy that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ContextDeployer` Deprecated. replaced with `ContextProvider` from the `DeploymentManager`
    `class` | `DeploymentManager` The Deployment Manager.
    `class` | `WebAppDeployer` Deprecated.

  - ### Uses of LifeCycle in org.eclipse.jetty.deploy.providers

    Classes in org.eclipse.jetty.deploy.providers that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ContextProvider` Context directory App Provider.
    `class` | `ScanningAppProvider`
    `class` | `WebAppProvider` Context directory App Provider.

  - ### Uses of LifeCycle in org.eclipse.jetty.http

    Classes in org.eclipse.jetty.http that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `HttpBuffersImpl` Abstract Buffer pool.

  - ### Uses of LifeCycle in org.eclipse.jetty.io.nio

    Classes in org.eclipse.jetty.io.nio that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SelectorManager` The Selector Manager manages and number of SelectSets to allow NIO scheduling to scale to large numbers of connections.

  - ### Uses of LifeCycle in org.eclipse.jetty.jmx

    Classes in org.eclipse.jetty.jmx that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConnectorServer` AbstractLifeCycle wrapper for JMXConnector Server
    `class` | `MBeanContainer` Container class for the MBean instances

  - ### Uses of LifeCycle in org.eclipse.jetty.nested

    Classes in org.eclipse.jetty.nested that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NestedConnector` Nested Jetty Connector

  - ### Uses of LifeCycle in org.eclipse.jetty.plus.jaas

    Classes in org.eclipse.jetty.plus.jaas that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JAASLoginService` JAASLoginService

  - ### Uses of LifeCycle in org.eclipse.jetty.plus.security

    Classes in org.eclipse.jetty.plus.security that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DataSourceLoginService` //TODO JASPI cf JDBCLoginService DataSourceUserRealm Obtain user/password/role information from a database via jndi DataSource.

  - ### Uses of LifeCycle in org.eclipse.jetty.rewrite.handler

    Classes in org.eclipse.jetty.rewrite.handler that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RewriteHandler` Rewrite handler is responsible for managing the rules.

  - ### Uses of LifeCycle in org.eclipse.jetty.security

    Classes in org.eclipse.jetty.security that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ConstraintSecurityHandler` Handler to enforce SecurityConstraints.
    `class` | `HashLoginService` Properties User Realm.
    `class` | `JDBCLoginService` HashMapped User Realm with JDBC as data source.
    `class` | `MappedLoginService` A login service that keeps UserIdentities in a concurrent map either as the source or a cache of the users.
    `class` | `PropertyUserStore` PropertyUserStore This class monitors a property file of the format mentioned below and notifies registered listeners of the changes to the the given file.
    `class` | `SecurityHandler` Abstract SecurityHandler.
    `class` | `SpnegoLoginService`

  - ### Uses of LifeCycle in org.eclipse.jetty.server

    Subinterfaces of LifeCycle in org.eclipse.jetty.server
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Connector`
    `interface` | `Handler` A Jetty Server Handler.
    `interface` | `HandlerContainer` A Handler that contains other Handlers.
    `interface` | `RequestLog` A `RequestLog` can be attached to a `RequestLogHandler` to enable logging of requests/responses.
    `static interface` | `Server.Graceful`
    `interface` | `SessionIdManager` Session ID Manager.
    `interface` | `SessionManager`

    Classes in org.eclipse.jetty.server that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractConnector` Abstract Connector implementation.
    `class` | `LocalConnector`
    `class` | `NCSARequestLog`
    `class` | `Server` Jetty HTTP Servlet Server.

    Methods in org.eclipse.jetty.server with parameters of type LifeCycle
    Modifier and Type | Method and Description
    --- | ---
    `void` | Server.`addLifeCycle(LifeCycle c)` Deprecated. Use `Server.addBean(Object)`
    `void` | Server.`removeLifeCycle(LifeCycle c)` Deprecated. Use `Server.removeBean(Object)`

  - ### Uses of LifeCycle in org.eclipse.jetty.server.bio

    Classes in org.eclipse.jetty.server.bio that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SocketConnector` Socket Connector.

  - ### Uses of LifeCycle in org.eclipse.jetty.server.handler

    Classes in org.eclipse.jetty.server.handler that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractHandler` AbstractHandler.
    `class` | `AbstractHandlerContainer` Abstract Handler Container.
    `class` | `ConnectHandler` Implementation of a tunneling proxy that supports HTTP CONNECT.
    `class` | `ContextHandler` ContextHandler.
    `class` | `ContextHandlerCollection` ContextHandlerCollection.
    `class` | `DebugHandler` Debug Handler.
    `class` | `DefaultHandler` Default Handler.
    `class` | `ErrorHandler` Handler for Error pages An ErrorHandler is registered with `ContextHandler.setErrorHandler(ErrorHandler)` or `Server.addBean(Object)`.
    `class` | `GzipHandler` GZIP Handler This handler will gzip the content of a response if: The filter is mapped to a matching path The response status code is >=200 and <300 The content length is unknown or more than the `minGzipSize` initParameter or the minGzipSize is 0(default) The content-type is in the comma separated list of mimeTypes set in the `mimeTypes` initParameter or if no mimeTypes are defined the content-type is not "application/gzip" No content-encoding is specified by the resource
    `class` | `HandlerCollection` A collection of handlers.
    `class` | `HandlerList` HandlerList.
    `class` | `HandlerWrapper` A `HandlerWrapper` acts as a `Handler` but delegates the `handle` method and `life cycle` events to a delegate.
    `class` | `HotSwapHandler` A `HandlerContainer` that allows a hot swap of a wrapped handler.
    `class` | `IPAccessHandler` IP Access Handler
    `class` | `MovedContextHandler` Moved ContextHandler.
    `class` | `ProxyHandler` Deprecated. Use `ConnectHandler`
    `class` | `RequestLogHandler` RequestLogHandler.
    `class` | `ResourceHandler` Resource Handler.
    `class` | `ScopedHandler` ScopedHandler.
    `class` | `ShutdownHandler` A handler that shuts the server down on a valid request.
    `class` | `StatisticsHandler`

  - ### Uses of LifeCycle in org.eclipse.jetty.server.nio

    Classes in org.eclipse.jetty.server.nio that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractNIOConnector`
    `class` | `BlockingChannelConnector` Blocking NIO connector.
    `class` | `InheritedChannelConnector` An implementation of the SelectChannelConnector which first tries to inherit from a channel provided by the system.
    `class` | `NetworkTrafficSelectChannelConnector` A specialized version of `SelectChannelConnector` that supports `NetworkTrafficListener`s.
    `class` | `SelectChannelConnector` Selecting NIO connector.

  - ### Uses of LifeCycle in org.eclipse.jetty.server.session

    Classes in org.eclipse.jetty.server.session that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractSessionIdManager`
    `class` | `AbstractSessionManager` An Abstract implementation of SessionManager.
    `class` | `HashSessionIdManager` HashSessionIdManager.
    `class` | `HashSessionManager` An in-memory implementation of SessionManager.
    `class` | `JDBCSessionIdManager` JDBCSessionIdManager SessionIdManager implementation that uses a database to store in-use session ids, to support distributed sessions.
    `class` | `JDBCSessionManager` JDBCSessionManager SessionManager that persists sessions to a database to enable clustering.
    `class` | `SessionHandler` SessionHandler.

  - ### Uses of LifeCycle in org.eclipse.jetty.server.ssl

    Subinterfaces of LifeCycle in org.eclipse.jetty.server.ssl
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `SslConnector` The interface for SSL connectors and their configuration methods.

    Classes in org.eclipse.jetty.server.ssl that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SslSelectChannelConnector` SslSelectChannelConnector.
    `class` | `SslSocketConnector` SSL Socket Connector.

  - ### Uses of LifeCycle in org.eclipse.jetty.servlet

    Classes in org.eclipse.jetty.servlet that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ErrorPageErrorHandler` Error Page Error Handler An ErrorHandler that maps exceptions and status codes to URIs for dispatch using the internal ERROR style of dispatch.
    `class` | `FilterHolder`
    `class` | `Holder<T>`
    `class` | `ServletContextHandler` Servlet Context.
    `class` | `ServletHandler` Servlet HttpHandler.
    `class` | `ServletHolder` Servlet Instance and Context Holder.

  - ### Uses of LifeCycle in org.eclipse.jetty.util

    Classes in org.eclipse.jetty.util that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Scanner` Scanner Utility for scanning a directory for added, removed and changed files and reporting these events via registered Listeners.

  - ### Uses of LifeCycle in org.eclipse.jetty.util.component

    Classes in org.eclipse.jetty.util.component that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractLifeCycle` Basic implementation of the life cycle interface for components.
    `class` | `AggregateLifeCycle` An AggregateLifeCycle is an `LifeCycle` implementation for a collection of contained beans.

    Methods in org.eclipse.jetty.util.component with parameters of type LifeCycle
    Modifier and Type | Method and Description
    --- | ---
    `static String` | AbstractLifeCycle.`getState(LifeCycle lc)`
    `void` | AbstractLifeCycle.AbstractLifeCycleListener.`lifeCycleFailure(LifeCycle event, Throwable cause)`
    `void` | LifeCycle.Listener.`lifeCycleFailure(LifeCycle event, Throwable cause)`
    `void` | AbstractLifeCycle.AbstractLifeCycleListener.`lifeCycleStarted(LifeCycle event)`
    `void` | LifeCycle.Listener.`lifeCycleStarted(LifeCycle event)`
    `void` | AbstractLifeCycle.AbstractLifeCycleListener.`lifeCycleStarting(LifeCycle event)`
    `void` | LifeCycle.Listener.`lifeCycleStarting(LifeCycle event)`
    `void` | AbstractLifeCycle.AbstractLifeCycleListener.`lifeCycleStopped(LifeCycle event)`
    `void` | LifeCycle.Listener.`lifeCycleStopped(LifeCycle event)`
    `void` | AbstractLifeCycle.AbstractLifeCycleListener.`lifeCycleStopping(LifeCycle event)`
    `void` | LifeCycle.Listener.`lifeCycleStopping(LifeCycle event)`

  - ### Uses of LifeCycle in org.eclipse.jetty.util.preventers

    Classes in org.eclipse.jetty.util.preventers that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractLeakPreventer` AbstractLeakPreventer Abstract base class for code that seeks to avoid pinning of webapp classloaders by using the jetty classloader to proactively call the code that pins them (generally pinned as static data members, or as static data members that are daemon threads (which use the context classloader)).
    `class` | `AppContextLeakPreventer` AppContextLeakPreventer Cause the classloader that is pinned by AppContext.getAppContext() to be a container or system classloader, not a webapp classloader.
    `class` | `AWTLeakPreventer` AWTLeakPreventer See https://issues.jboss.org/browse/AS7-3733 The java.awt.Toolkit class has a static field that is the default toolkit.
    `class` | `DOMLeakPreventer` DOMLeakPreventer See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6916498 Prevent the RuntimeException that is a static member of AbstractDOMParser from pinning a webapp classloader by causing it to be set here by a non-webapp classloader.
    `class` | `DriverManagerLeakPreventer` DriverManagerLeakPreventer Cause DriverManager.getCallerClassLoader() to be called, which will pin the classloader.
    `class` | `GCThreadLeakPreventer` GCThreadLeakPreventer Prevents a call to sun.misc.GC.requestLatency pinning a webapp classloader by calling it with a non-webapp classloader.
    `class` | `Java2DLeakPreventer` Java2DLeakPreventer Prevent pinning of webapp classloader by pre-loading sun.java2d.Disposer class before webapp classloaders are created.
    `class` | `LDAPLeakPreventer` LDAPLeakPreventer If com.sun.jndi.LdapPoolManager class is loaded and the system property com.sun.jndi.ldap.connect.pool.timeout is set to a nonzero value, a daemon thread is started which can pin a webapp classloader if it is the first to load the LdapPoolManager.
    `class` | `LoginConfigurationLeakPreventer` LoginConfigurationLeakPreventer The javax.security.auth.login.Configuration class keeps a static reference to the thread context classloader.
    `class` | `SecurityProviderLeakPreventer` SecurityProviderLeakPreventer Some security providers, such as sun.security.pkcs11.SunPKCS11 start a deamon thread, which will use the thread context classloader.

  - ### Uses of LifeCycle in org.eclipse.jetty.util.ssl

    Classes in org.eclipse.jetty.util.ssl that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SslContextFactory` SslContextFactory is used to configure SSL connectors as well as HttpClient.

  - ### Uses of LifeCycle in org.eclipse.jetty.util.thread

    Classes in org.eclipse.jetty.util.thread that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ExecutorThreadPool` Jetty ThreadPool using java 5 ThreadPoolExecutor This class wraps a `ExecutorService` as a `ThreadPool` and `LifeCycle` interfaces so that it may be used by the Jetty `org.eclipse.jetty.server.Server`
    `class` | `QueuedThreadPool`

    Methods in org.eclipse.jetty.util.thread with parameters of type LifeCycle
    Modifier and Type | Method and Description
    --- | ---
    `static void` | ShutdownThread.`deregister(LifeCycle lifeCycle)`
    `static void` | ShutdownThread.`register(int index, LifeCycle... lifeCycles)`
    `static void` | ShutdownThread.`register(LifeCycle... lifeCycles)`

  - ### Uses of LifeCycle in org.eclipse.jetty.webapp

    Classes in org.eclipse.jetty.webapp that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `WebAppContext` Web Application Context Handler.

  - ### Uses of LifeCycle in org.eclipse.jetty.websocket

    Classes in org.eclipse.jetty.websocket that implement LifeCycle
    Modifier and Type | Class and Description
    --- | ---
    `class` | `WebSocketClientFactory` WebSocketClientFactory contains the common components needed by multiple `WebSocketClient` instances (for example, a `ThreadPool`, a `NIO selector`, etc).
    `class` | `WebSocketFactory` Factory to create WebSocket connections
    `class` | `WebSocketHandler`

Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.