Uses of Interface
org.eclipse.jetty.util.component.LifeCycle
Packages that use LifeCycle
Package
Description
Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
Jetty IO : Core classes for Jetty IO subsystem
Jetty Jaas : Support for Jaas
Jetty JMX : Integration for JMX in 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.client
Classes in org.eclipse.jetty.client that implement LifeCycleModifier and TypeClassDescriptionclass
class
protected class
class
class
class
HttpClient
provides an efficient, asynchronous, non-blocking implementation to perform HTTP requests to a server through a simple API that offers also blocking semantic.class
class
class
class
class
class
AConnectionPool
that provides connections randomly among the ones that are available.class
AConnectionPool
that attempts to provide connections using a round-robin algorithm.class
A 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.io
Classes in org.eclipse.jetty.io that implement LifeCycleModifier and TypeClassDescriptionclass
AConnection.Listener
that tracks connection statistics.class
class
class
ManagedSelector
wraps aSelector
simplifying non-blocking operations on channels.class
SelectorManager
manages a number ofManagedSelector
s that simplify the non-blocking primitives provided by the JVM via thejava.nio
package. -
Uses of LifeCycle in org.eclipse.jetty.jaas
Classes in org.eclipse.jetty.jaas that implement LifeCycleModifier and TypeClassDescriptionclass
JAASLoginService Implementation of jetty's LoginService that works with JAAS for authorization and authentication.class
PropertyUserStoreManager 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.security
Classes in org.eclipse.jetty.security that implement LifeCycleModifier and TypeClassDescriptionclass
AbstractLoginServiceclass
A configurable (as opposed to using system properties) SPNEGO LoginService.class
ConstraintSecurityHandlerclass
Properties User Realm.class
HashMapped User Realm with JDBC as data source.class
This class monitors a property file of the format mentioned below and notifies registered listeners of the changes to the the given file.class
Abstract SecurityHandler.class
Deprecated.class
Base class to store User -
Uses of LifeCycle in org.eclipse.jetty.server
Subinterfaces of LifeCycle in org.eclipse.jetty.serverModifier and TypeInterfaceDescriptioninterface
AConnector
accept 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.interface
A Jetty Server Handler.interface
A Handler that contains other Handlers.interface
AConnector
for TCP/IP network connectorsinterface
Session ID Manager.Classes in org.eclipse.jetty.server that implement LifeCycleModifier and TypeClassDescriptionclass
Provides the common handling forConnectionFactory
implementations including:class
An abstract implementation ofConnector
that provides aConnectionFactory
mechanism for creatingConnection
instances for various protocols (HTTP, SSL, etc).class
Deprecated.useCustomRequestLog
given format stringCustomRequestLog.EXTENDED_NCSA_FORMAT
with aRequestLog.Writer
class
An abstract Network Connector.class
A Listener that limits the rate at which new connections are acceptedclass
Deprecated.useCustomRequestLog
given format stringCustomRequestLog.EXTENDED_NCSA_FORMAT
with anAsyncRequestLogWriter
class
An asynchronously writing RequestLogWriterclass
A Listener that limits the number of Connections.class
Deprecated.useConnectionStatistics
instead.class
A flexible RequestLog, which produces log strings in a customizable format.class
A Context Listener that produces additional debug.class
AConnectionFactory
combining multipleConnectionFactory.Detecting
instances that will upgrade to the first one recognizing the bytes in the buffer.class
A Connection Factory for HTTP Connections.class
A local connector, mostly for testing purposes.class
A monitor for low resources, low resources can be detected by:ThreadPool.isLowOnThreads()
ifConnector.getExecutor()
is an instance ofThreadPool
andLowResourceMonitor.setMonitorThreads(boolean)
is true. IfLowResourceMonitor.setMaxMemory(long)
is non zero then low resources is detected if the JVMsRuntime
instance 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 class
class
Deprecated.useCustomRequestLog
given format stringCustomRequestLog.EXTENDED_NCSA_FORMAT
with aRequestLogWriter
class
class
A specialized version ofServerConnector
that supportsNetworkTrafficListener
s.class
Deprecated.UseDetectorConnectionFactory
with aSslConnectionFactory
instead.class
ConnectionFactory for the PROXY Protocol.private static class
private static class
class
Writer which outputs pre-formatted request log strings to a file usingRolloverFileOutputStream
.class
Jetty HTTP Servlet Server.class
Deprecated.class
ThisConnector
implementation is the primary connector for the Jetty server over TCP/IP.protected class
class
Deprecated.useCustomRequestLog
given format stringCustomRequestLog.EXTENDED_NCSA_FORMAT
with anSlf4jRequestLogWriter
class
Request log writer using a Slf4jLog Loggerclass
Fields in org.eclipse.jetty.server with type parameters of type LifeCycleMethods in org.eclipse.jetty.server with parameters of type LifeCycleModifier and TypeMethodDescriptionprivate void
ShutdownMonitor.addLifeCycles
(LifeCycle... lifeCycles) private boolean
ShutdownMonitor.containsLifeCycle
(LifeCycle lifeCycle) static void
ShutdownMonitor.deregister
(LifeCycle lifeCycle) static boolean
ShutdownMonitor.isRegistered
(LifeCycle lifeCycle) static void
private void
ShutdownMonitor.removeLifeCycle
(LifeCycle lifeCycle) protected void
Method parameters in org.eclipse.jetty.server with type arguments of type LifeCycleModifier and TypeMethodDescriptionprivate void
ShutdownMonitor.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 TypeClassDescriptionclass
AbstractHandler.static class
Deprecated.This class is no longer required as ERROR dispatch is only done if there is an error page target.class
Abstract Handler Container.class
A handler wrapper that provides the framework to asynchronously delay the handling of a request.class
Buffered Response Handlerclass
ContextHandler.class
ThisHandlerCollection
is creates a Map of contexts to it's contained handlers based on the context path and virtual hosts of any containedContextHandler
s.class
Deprecated.UseDebugListener
class
Default Handler.class
Handler for Error pages An ErrorHandler is registered withContextHandler.setErrorHandler(ErrorHandler)
orServer.setErrorHandler(ErrorHandler)
.class
A collection of handlers.class
HandlerList.class
AHandlerWrapper
acts as aHandler
but delegates thehandle
method andlife cycle
events to a delegate.class
AHandlerContainer
that allows a hot swap of a wrapped handler.class
Handler to adjust the idle timeout of requests while dispatched.class
InetAddress Access Handlerclass
Deprecated.Use @InetAccessHandler
.class
Moved ContextHandler.private class
class
This handler provides an alternate way (other thanServer.setRequestLog(RequestLog)
) to log request, that can be applied to a particular handler (eg context).class
Resource Handler.class
ScopedHandler.class
Secured Redirect Handlerclass
A handler that shuts the server down on a valid request.class
class
Handler 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 TypeClassDescriptionclass
A 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 TypeInterfaceDescriptioninterface
SessionCache A working set ofSession
objects for a context.interface
SessionDataMap A map style access to SessionData keyed by the session id.interface
SessionDataStore A store for the data contained in a Session object.Classes in org.eclipse.jetty.server.session that implement LifeCycleModifier and TypeClassDescriptionclass
AbstractSessionCache A base implementation of theSessionCache
interface for managing a set of Session objects pertaining to a context in memory.class
AbstractSessionDataStoreclass
CachingSessionDataStore A SessionDataStore is a mechanism for (persistently) storing data associated with sessions.class
DefaultSessionCache A session store that keeps its sessions in memory in a hashmapclass
DefaultSessionIdManager 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).class
FileSessionDataStore A file-based store of session data.class
HouseKeeper There is 1 session HouseKeeper per SessionIdManager instance.class
JDBCSessionDataStore Session data stored in databaseclass
NullSessionCache Does not actually cache any Session objects.class
NullSessionDataStore Does not actually store anything, useful for testing.class
SessionHandler. -
Uses of LifeCycle in org.eclipse.jetty.servlet
Subinterfaces of LifeCycle in org.eclipse.jetty.servletModifier and TypeInterfaceDescriptionstatic interface
Classes in org.eclipse.jetty.servlet that implement LifeCycleModifier and TypeClassDescriptionclass
BaseHolder<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).class
An ErrorHandler that maps exceptions and status codes to URIs for dispatch using the internal ERROR style of dispatch.class
class
Holder<T>
Holder Specialization of AbstractHolder for servlet-related classes that have init-params etcclass
ListenerHolder Specialization of BaseHolder for servlet listeners.class
Servlet Context.static class
A utility class to hold aServletContainerInitializer
and implement theServletContextHandler.ServletContainerInitializerCaller
interface so that the SCI is correctly started if an instance of this class is added as a bean to aServletContextHandler
.class
Servlet HttpHandler.class
Servlet 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 TypeClassDescriptionclass
LeakDetector<T>
A facility to detect improper usage of resource pools.class
Watch a Path (and sub directories) for Path changes.class
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 LifeCycleModifier and TypeClassDescriptionclass
Basic implementation of the life cycle interface for components.class
An Attributes implementation that holds it's values in an immutableContainerLifeCycle
class
A ContainerLifeCycle is anLifeCycle
implementation for a collection of contained beans.class
A 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 TypeMethodDescriptionvoid
ContainerLifeCycle.addManaged
(LifeCycle lifecycle) Adds a managed lifecycle.static String
void
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleFailure
(LifeCycle event, Throwable cause) void
FileNoticeLifeCycleListener.lifeCycleFailure
(LifeCycle event, Throwable cause) void
LifeCycle.Listener.lifeCycleFailure
(LifeCycle event, Throwable cause) void
StopLifeCycle.lifeCycleFailure
(LifeCycle lifecycle, Throwable cause) void
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStarted
(LifeCycle event) void
FileNoticeLifeCycleListener.lifeCycleStarted
(LifeCycle event) void
LifeCycle.Listener.lifeCycleStarted
(LifeCycle event) void
StopLifeCycle.lifeCycleStarted
(LifeCycle lifecycle) void
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStarting
(LifeCycle event) void
FileNoticeLifeCycleListener.lifeCycleStarting
(LifeCycle event) void
LifeCycle.Listener.lifeCycleStarting
(LifeCycle event) void
StopLifeCycle.lifeCycleStarting
(LifeCycle lifecycle) void
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStopped
(LifeCycle event) void
FileNoticeLifeCycleListener.lifeCycleStopped
(LifeCycle event) void
LifeCycle.Listener.lifeCycleStopped
(LifeCycle event) void
StopLifeCycle.lifeCycleStopped
(LifeCycle lifecycle) void
AbstractLifeCycle.AbstractLifeCycleListener.lifeCycleStopping
(LifeCycle event) void
FileNoticeLifeCycleListener.lifeCycleStopping
(LifeCycle event) void
LifeCycle.Listener.lifeCycleStopping
(LifeCycle event) void
StopLifeCycle.lifeCycleStopping
(LifeCycle lifecycle) protected void
Starts the given lifecycle.protected void
Stops the given lifecycle.private void
FileNoticeLifeCycleListener.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 TypeClassDescriptionclass
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 Cause the classloader that is pinned by AppContext.getAppContext() to be a container or system classloader, not a webapp classloader.class
AWTLeakPreventer See https://issues.jboss.org/browse/AS7-3733 The java.awt.Toolkit class has a static field that is the default toolkit.class
Deprecated.reported as fixed in jdk 7, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6916498class
DriverManagerLeakPreventer Cause DriverManager.getCallerClassLoader() to be called, which will pin the classloader.class
Deprecated.fixed in jdvm 9b130, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8157570class
Deprecated.fixed in jdk 9, see https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6489540class
Deprecated.fixed in jdk 8u192class
Deprecated.classloader does not seem to be held any moreclass
Deprecated.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 TypeClassDescriptionclass
TheKeyStoreScanner
is used to monitor the KeyStore file used by theSslContextFactory
.class
SslContextFactory is used to configure SSL parameters to be used by server and client connectors.static class
static 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 TypeClassDescriptionclass
Deprecated.class
AThreadPool.SizedThreadPool
wrapper aroundThreadPoolExecutor
.class
AQueuedThreadPool
subclass that monitors its own activity by recording queue and task statistics.class
A thread pool with a queue of jobs to execute.class
An Executor using preallocated/reserved Threads from a wrapped Executor.class
Implementation ofScheduler
based on JDK'sScheduledThreadPoolExecutor
.class
A utility class to perform periodic sweeping of resources.class
A 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 void
ShutdownThread.deregister
(LifeCycle lifeCycle) static boolean
ShutdownThread.isRegistered
(LifeCycle lifeCycle) static void
static void
-
Uses of LifeCycle in org.eclipse.jetty.util.thread.strategy
Classes in org.eclipse.jetty.util.thread.strategy that implement LifeCycleModifier and TypeClassDescriptionclass
A 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
ConfigurableSpnegoLoginService
instead