Uses of Interface
org.eclipse.jetty.util.component.LifeCycle
Packages that use LifeCycle
Package
Description
Jetty Annotations : Support for Servlet Annotations
Jetty Ant : Ant Tasks and Configuration
Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
Jetty Deploy : Webapp Deploy Management
Jetty Deploy : Webapp Deployment Providers
Jetty IO : Core classes for Jetty IO subsystem
Jetty Jaas : Support for Jaas
Jetty JMX : Integration for JMX in Jetty
Jetty Plus : Limited JEE Security Support
Jetty Proxy : Async Proxy Support
Jetty Rewrite : Rewrite Handler and Rules for Jetty
Jetty Security : Modular Support for Security in Jetty
Jetty Server : Core Server API
Jetty Server : Core Handler API
Jetty GZIP Handler
Jetty Server : Core Server Connector
Jetty Server : Session Management Implementations
Jetty Server : Modular Servlet Integration
Jetty Util : Common Utility Classes
Jetty Util : Jetty Lifecycle Management
Jetty Util : Common Memory Leak Prevention Tooling
Jetty Util : Common SSL Utility Classes
Jetty Util : Common ThreadPool Utilities
Jetty Util : Modular Web Application Support
-
Uses of LifeCycle in org.eclipse.jetty.annotations
Classes in org.eclipse.jetty.annotations that implement LifeCycleModifier and TypeClassDescriptionclassServletContainerInitializersStarter Call the onStartup() method on all ServletContainerInitializers, after having found all applicable classes (if any) to pass in as args. -
Uses of LifeCycle in org.eclipse.jetty.ant
Classes in org.eclipse.jetty.ant that implement LifeCycleModifier and TypeClassDescriptionclassExtension of WebAppContext to allow configuration via Ant environment.static classAntServletHandlerstatic classAntServletHolder -
Uses of LifeCycle in org.eclipse.jetty.client
Classes in org.eclipse.jetty.client that implement LifeCycleModifier and TypeClassDescriptionclassclassprotected classclassclassclassHttpClientprovides an efficient, asynchronous, non-blocking implementation to perform HTTP requests to a server through a simple API that offers also blocking semantic.classclassclassclassclassclassAConnectionPoolthat provides connections randomly among the ones that are available.classAConnectionPoolthat attempts to provide connections using a round-robin algorithm.classA connection pool that validates connections before making them available for use. -
Uses of LifeCycle in org.eclipse.jetty.client.http
Classes in org.eclipse.jetty.client.http that implement LifeCycle -
Uses of LifeCycle in org.eclipse.jetty.deploy
Subinterfaces of LifeCycle in org.eclipse.jetty.deployModifier and TypeInterfaceDescriptioninterfaceObject responsible for providingApps to theDeploymentManagerClasses in org.eclipse.jetty.deploy that implement LifeCycle -
Uses of LifeCycle in org.eclipse.jetty.deploy.providers
Classes in org.eclipse.jetty.deploy.providers that implement LifeCycleModifier and TypeClassDescriptionclassclassThe webapps directory scanning provider. -
Uses of LifeCycle in org.eclipse.jetty.fcgi.client.http
Classes in org.eclipse.jetty.fcgi.client.http that implement LifeCycleModifier and TypeClassDescriptionclassclassclass -
Uses of LifeCycle in org.eclipse.jetty.fcgi.server
Classes in org.eclipse.jetty.fcgi.server that implement LifeCycle -
Uses of LifeCycle in org.eclipse.jetty.fcgi.server.proxy
Classes in org.eclipse.jetty.fcgi.server.proxy that implement LifeCycleModifier and TypeClassDescriptionprivate class -
Uses of LifeCycle in org.eclipse.jetty.http.spi
Classes in org.eclipse.jetty.http.spi that implement LifeCycleModifier and TypeClassDescriptionclassclassJetty handler that bridges requests toHttpHandler. -
Uses of LifeCycle in org.eclipse.jetty.io
Classes in org.eclipse.jetty.io that implement LifeCycleModifier and TypeClassDescriptionclassAConnection.Listenerthat tracks connection statistics.classclassclassManagedSelectorwraps aSelectorsimplifying non-blocking operations on channels.classSelectorManagermanages a number ofManagedSelectors that simplify the non-blocking primitives provided by the JVM via thejava.niopackage. -
Uses of LifeCycle in org.eclipse.jetty.jaas
Classes in org.eclipse.jetty.jaas that implement LifeCycleModifier and TypeClassDescriptionclassJAASLoginService Implementation of jetty's LoginService that works with JAAS for authorization and authentication.classPropertyUserStoreManager Maintains a map of PropertyUserStores, keyed off the location of the property file containing the authentication and authorization information. -
Uses of LifeCycle in org.eclipse.jetty.jmx
Classes in org.eclipse.jetty.jmx that implement LifeCycle -
Uses of LifeCycle in org.eclipse.jetty.plus.security
Classes in org.eclipse.jetty.plus.security that implement LifeCycle -
Uses of LifeCycle in org.eclipse.jetty.proxy
Classes in org.eclipse.jetty.proxy that implement LifeCycleModifier and TypeClassDescriptionclassImplementation of aHandlerthat supports HTTP CONNECT.protected class -
Uses of LifeCycle in org.eclipse.jetty.quickstart
Classes in org.eclipse.jetty.quickstart that implement LifeCycle -
Uses of LifeCycle in org.eclipse.jetty.rewrite.handler
Classes in org.eclipse.jetty.rewrite.handler that implement LifeCycleModifier and TypeClassDescriptionclassRewrite handler is responsible for managing the rules. -
Uses of LifeCycle in org.eclipse.jetty.security
Classes in org.eclipse.jetty.security that implement LifeCycleModifier and TypeClassDescriptionclassAbstractLoginServiceclassA configurable (as opposed to using system properties) SPNEGO LoginService.classConstraintSecurityHandlerclassProperties User Realm.classHashMapped User Realm with JDBC as data source.classThis class monitors a property file of the format mentioned below and notifies registered listeners of the changes to the the given file.classAbstract SecurityHandler.classDeprecated.classBase class to store User -
Uses of LifeCycle in org.eclipse.jetty.security.openid
Classes in org.eclipse.jetty.security.openid that implement LifeCycleModifier and TypeClassDescriptionclassHolds the configuration for an OpenID Connect service.classThe implementation ofLoginServicerequired to use OpenID Connect. -
Uses of LifeCycle in org.eclipse.jetty.server
Subinterfaces of LifeCycle in org.eclipse.jetty.serverModifier and TypeInterfaceDescriptioninterfaceAConnectoraccept connections and data from remote peers, and allows applications to send data to remote peers, by setting up the machinery needed to handle such tasks.interfaceA Jetty Server Handler.interfaceA Handler that contains other Handlers.interfaceAConnectorfor TCP/IP network connectorsinterfaceSession ID Manager.Classes in org.eclipse.jetty.server that implement LifeCycleModifier and TypeClassDescriptionclassProvides the common handling forConnectionFactoryimplementations including:classAn abstract implementation ofConnectorthat provides aConnectionFactorymechanism for creatingConnectioninstances for various protocols (HTTP, SSL, etc).classDeprecated.useCustomRequestLoggiven format stringCustomRequestLog.EXTENDED_NCSA_FORMATwith aRequestLog.WriterclassAn abstract Network Connector.classA Listener that limits the rate at which new connections are acceptedclassThis will approve any alias to anything inside of theContextHandlers resource base which is not protected by a protected target as defined byContextHandler.getProtectedTargets()at start.classDeprecated.useCustomRequestLoggiven format stringCustomRequestLog.EXTENDED_NCSA_FORMATwith anAsyncRequestLogWriterclassAn asynchronously writing RequestLogWriterclassA Listener that limits the number of Connections.classDeprecated.useConnectionStatisticsinstead.classA flexible RequestLog, which produces log strings in a customizable format.classA Context Listener that produces additional debug.classAConnectionFactorycombining multipleConnectionFactory.Detectinginstances that will upgrade to the first one recognizing the bytes in the buffer.classA Connection Factory for HTTP Connections.classA local connector, mostly for testing purposes.classA monitor for low resources, low resources can be detected by:ThreadPool.isLowOnThreads()ifConnector.getExecutor()is an instance ofThreadPoolandLowResourceMonitor.setMonitorThreads(boolean)is true. IfLowResourceMonitor.setMaxMemory(long)is non zero then low resources is detected if the JVMsRuntimeinstance hasRuntime.totalMemory()minusRuntime.freeMemory()greater thanLowResourceMonitor.getMaxMemory()IfLowResourceMonitor.setMaxConnections(int)is non zero then low resources is detected if the total number of connections exceedsLowResourceMonitor.getMaxConnections().private static classclassDeprecated.useCustomRequestLoggiven format stringCustomRequestLog.EXTENDED_NCSA_FORMATwith aRequestLogWriterclassclassA specialized version ofServerConnectorthat supportsNetworkTrafficListeners.classDeprecated.UseDetectorConnectionFactorywith aSslConnectionFactoryinstead.classConnectionFactory for the PROXY Protocol.private static classprivate static classclassWriter which outputs pre-formatted request log strings to a file usingRolloverFileOutputStream.classJetty HTTP Servlet Server.classDeprecated.classThisConnectorimplementation is the primary connector for the Jetty server over TCP/IP.protected classclassDeprecated.useCustomRequestLoggiven format stringCustomRequestLog.EXTENDED_NCSA_FORMATwith anSlf4jRequestLogWriterclassRequest log writer using a Slf4jLog LoggerclassclassAn extension ofAllowedResourceAliasCheckerwhich will allow symlinks alias to arbitrary targets, so long as the symlink file itself is an allowed resource.Fields in org.eclipse.jetty.server with type parameters of type LifeCycleMethods in org.eclipse.jetty.server with parameters of type LifeCycleModifier and TypeMethodDescriptionprivate voidShutdownMonitor.addLifeCycles(LifeCycle... lifeCycles) private booleanShutdownMonitor.containsLifeCycle(LifeCycle lifeCycle) static voidShutdownMonitor.deregister(LifeCycle lifeCycle) static booleanShutdownMonitor.isRegistered(LifeCycle lifeCycle) voidAllowedResourceAliasChecker.AllowedResourceAliasCheckListener.lifeCycleStarted(LifeCycle event) static voidprivate voidShutdownMonitor.removeLifeCycle(LifeCycle lifeCycle) protected voidMethod parameters in org.eclipse.jetty.server with type arguments of type LifeCycleModifier and TypeMethodDescriptionprivate voidShutdownMonitor.ShutdownMonitorRunnable.stopLifeCycles(Predicate<LifeCycle> predicate, boolean destroy) -
Uses of LifeCycle in org.eclipse.jetty.server.handler
Classes in org.eclipse.jetty.server.handler that implement LifeCycleModifier and TypeClassDescriptionclassAbstractHandler.static classDeprecated.This class is no longer required as ERROR dispatch is only done if there is an error page target.classAbstract Handler Container.classA handler wrapper that provides the framework to asynchronously delay the handling of a request.classA Handler that can apply aHttpOutput.Interceptormechanism to buffer the entire response content until the output is closed.classContextHandler.classThisHandlerCollectionis creates a Map of contexts to it's contained handlers based on the context path and virtual hosts of any containedContextHandlers.classDeprecated.UseDebugListenerclassDefault Handler.classHandler for Error pages An ErrorHandler is registered withContextHandler.setErrorHandler(ErrorHandler)orServer.setErrorHandler(ErrorHandler).classA Handler that can apply aHttpOutput.Interceptormechanism to buffer the entire response content until the output is closed.classA collection of handlers.classHandlerList.classAHandlerWrapperacts as aHandlerbut delegates thehandlemethod andlife cycleevents to a delegate.classAHandlerContainerthat allows a hot swap of a wrapped handler.classHandler to adjust the idle timeout of requests while dispatched.classInetAddress Access HandlerclassDeprecated.Use @InetAccessHandler.classMoved ContextHandler.private classclassThis handler provides an alternate way (other thanServer.setRequestLog(RequestLog)) to log request, that can be applied to a particular handler (eg context).classResource Handler.classScopedHandler.classSecured Redirect HandlerclassA handler that shuts the server down on a valid request.classA handler that can limit the size of message bodies in requests and responses.classclassHandler to limit the threads per IP address for DOS protection -
Uses of LifeCycle in org.eclipse.jetty.server.handler.gzip
Classes in org.eclipse.jetty.server.handler.gzip that implement LifeCycleModifier and TypeClassDescriptionclassA Handler that can dynamically GZIP uncompress requests, and compress responses. -
Uses of LifeCycle in org.eclipse.jetty.server.nio
Classes in org.eclipse.jetty.server.nio that implement LifeCycle -
Uses of LifeCycle in org.eclipse.jetty.server.session
Subinterfaces of LifeCycle in org.eclipse.jetty.server.sessionModifier and TypeInterfaceDescriptioninterfaceSessionCache A working set ofSessionobjects for a context.interfaceSessionDataMap A map style access to SessionData keyed by the session id.interfaceSessionDataStore A store for the data contained in a Session object.Classes in org.eclipse.jetty.server.session that implement LifeCycleModifier and TypeClassDescriptionclassAbstractSessionCache A base implementation of theSessionCacheinterface for managing a set of Session objects pertaining to a context in memory.classAbstractSessionDataStoreclassCachingSessionDataStore A SessionDataStore is a mechanism for (persistently) storing data associated with sessions.classDefaultSessionCache A session store that keeps its sessions in memory in a hashmapclassDefaultSessionIdManager Manages session ids to ensure each session id within a context is unique, and that session ids can be shared across contexts (but not session contents).classFileSessionDataStore A file-based store of session data.classHouseKeeper There is 1 session HouseKeeper per SessionIdManager instance.classJDBCSessionDataStore Session data stored in databaseclassNullSessionCache Does not actually cache any Session objects.classNullSessionDataStore Does not actually store anything, useful for testing.classSessionHandler. -
Uses of LifeCycle in org.eclipse.jetty.servlet
Subinterfaces of LifeCycle in org.eclipse.jetty.servletModifier and TypeInterfaceDescriptionstatic interfaceClasses in org.eclipse.jetty.servlet that implement LifeCycleModifier and TypeClassDescriptionclassBaseHolder<T>AbstractHolder Base class for all servlet-related classes that may be lazily instantiated (eg servlet, filter, listener), and/or require metadata to be held regarding their origin (web.xml, annotation, programmatic api etc).classAn ErrorHandler that maps exceptions and status codes to URIs for dispatch using the internal ERROR style of dispatch.classclassHolder<T>Holder Specialization of AbstractHolder for servlet-related classes that have init-params etcclassListenerHolder Specialization of BaseHolder for servlet listeners.classServlet Context.static classA utility class to hold aServletContainerInitializerand implement theServletContextHandler.ServletContainerInitializerCallerinterface so that the SCI is correctly started if an instance of this class is added as a bean to aServletContextHandler.classServlet HttpHandler.classServlet Instance and Context Holder.Methods in org.eclipse.jetty.servlet with parameters of type LifeCycle -
Uses of LifeCycle in org.eclipse.jetty.util
Classes in org.eclipse.jetty.util that implement LifeCycleModifier and TypeClassDescriptionclassLeakDetector<T>A facility to detect improper usage of resource pools.classWatch a Path (and sub directories) for Path changes.classScanner 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 LifeCycleModifier and TypeClassDescriptionclassBasic implementation of the life cycle interface for components.classAn Attributes implementation that holds it's values in an immutableContainerLifeCycleclassA ContainerLifeCycle is anLifeCycleimplementation for a collection of contained beans.classA LifeCycle that when started will stop another LifeCycleFields in org.eclipse.jetty.util.component declared as LifeCycleMethods in org.eclipse.jetty.util.component with parameters of type LifeCycleModifier and TypeMethodDescriptionvoidContainerLifeCycle.addManaged(LifeCycle lifecycle) Adds a managed lifecycle.static StringvoidAbstractLifeCycle.AbstractLifeCycleListener.lifeCycleFailure(LifeCycle event, Throwable cause) Deprecated.voidFileNoticeLifeCycleListener.lifeCycleFailure(LifeCycle event, Throwable cause) default voidLifeCycle.Listener.lifeCycleFailure(LifeCycle event, Throwable cause) voidAbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStarted(LifeCycle event) Deprecated.voidFileNoticeLifeCycleListener.lifeCycleStarted(LifeCycle event) default voidLifeCycle.Listener.lifeCycleStarted(LifeCycle event) voidStopLifeCycle.lifeCycleStarted(LifeCycle lifecycle) voidAbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStarting(LifeCycle event) Deprecated.voidFileNoticeLifeCycleListener.lifeCycleStarting(LifeCycle event) default voidLifeCycle.Listener.lifeCycleStarting(LifeCycle event) voidAbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStopped(LifeCycle event) Deprecated.voidFileNoticeLifeCycleListener.lifeCycleStopped(LifeCycle event) default voidLifeCycle.Listener.lifeCycleStopped(LifeCycle event) voidAbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStopping(LifeCycle event) Deprecated.voidFileNoticeLifeCycleListener.lifeCycleStopping(LifeCycle event) default voidLifeCycle.Listener.lifeCycleStopping(LifeCycle event) protected voidStarts the given lifecycle.protected voidStops the given lifecycle.private voidFileNoticeLifeCycleListener.writeState(String action, LifeCycle lifecycle) Constructors in org.eclipse.jetty.util.component with parameters of type LifeCycle -
Uses of LifeCycle in org.eclipse.jetty.util.compression
Classes in org.eclipse.jetty.util.compression that implement LifeCycle -
Uses of LifeCycle in org.eclipse.jetty.util.preventers
Classes in org.eclipse.jetty.util.preventers that implement LifeCycleModifier and TypeClassDescriptionclassAbstractLeakPreventer 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)).classAppContextLeakPreventer Cause the classloader that is pinned by AppContext.getAppContext() to be a container or system classloader, not a webapp classloader.classAWTLeakPreventer See https://issues.jboss.org/browse/AS7-3733 The java.awt.Toolkit class has a static field that is the default toolkit.classDeprecated.reported as fixed in jdk 7, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6916498classDriverManagerLeakPreventer Cause DriverManager.getCallerClassLoader() to be called, which will pin the classloader.classDeprecated.fixed in jdvm 9b130, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8157570classDeprecated.fixed in jdk 9, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6489540classDeprecated.fixed in jdk 8u192classDeprecated.classloader does not seem to be held any moreclassDeprecated.sun.security.pkcs11.SunPKCS11 class explicitly sets thread classloader to null -
Uses of LifeCycle in org.eclipse.jetty.util.ssl
Classes in org.eclipse.jetty.util.ssl that implement LifeCycleModifier and TypeClassDescriptionclassTheKeyStoreScanneris used to monitor the KeyStore file used by theSslContextFactory.classSslContextFactory is used to configure SSL parameters to be used by server and client connectors.static classstatic class -
Uses of LifeCycle in org.eclipse.jetty.util.thread
Subinterfaces of LifeCycle in org.eclipse.jetty.util.threadClasses in org.eclipse.jetty.util.thread that implement LifeCycleModifier and TypeClassDescriptionclassDeprecated.classAThreadPool.SizedThreadPoolwrapper aroundThreadPoolExecutor.classAQueuedThreadPoolsubclass that monitors its own activity by recording queue and task statistics.classA thread pool with a queue of jobs to execute.classA TryExecutor using pre-allocated/reserved threads from an external Executor.classImplementation ofSchedulerbased on JDK'sScheduledThreadPoolExecutor.classA utility class to perform periodic sweeping of resources.classA scheduler based on the the JVM Timer classFields in org.eclipse.jetty.util.thread with type parameters of type LifeCycleMethods in org.eclipse.jetty.util.thread with parameters of type LifeCycleModifier and TypeMethodDescriptionstatic voidShutdownThread.deregister(LifeCycle lifeCycle) static booleanShutdownThread.isRegistered(LifeCycle lifeCycle) static voidstatic void -
Uses of LifeCycle in org.eclipse.jetty.util.thread.strategy
Classes in org.eclipse.jetty.util.thread.strategy that implement LifeCycleModifier and TypeClassDescriptionclassA strategy where the thread that produces will run the resulting task if it is possible to do so without thread starvation. -
Uses of LifeCycle in org.eclipse.jetty.webapp
Classes in org.eclipse.jetty.webapp that implement LifeCycle
ConfigurableSpnegoLoginServiceinstead