Interface Destroyable

All Known Subinterfaces:
Handler
All Known Implementing Classes:
AbstractConnectionFactory, AbstractConnectionPool, AbstractConnector, AbstractConnectorHttpClientTransport, AbstractHandler, AbstractHandler.ErrorDispatchHandler, AbstractHandlerContainer, AbstractHTTP2ServerConnectionFactory, AbstractHTTP3ServerConnectionFactory, AbstractHttpClientTransport, AbstractLoginService, AbstractNetworkConnector, AbstractSessionCache, AbstractSessionDataStore, AdaptiveExecutionStrategy, AfterContentTransformer, ALPNServerConnectionFactory, AntWebAppContext, AntWebAppContext.AntServletHandler, AsyncDelayHandler, AttributeContainerMap, BufferedResponseHandler, CachingSessionDataStore, ClientConnectionFactory.Info, ClientConnectionFactoryOverHTTP2, ClientConnectionFactoryOverHTTP2.HTTP2, ClientConnectionFactoryOverHTTP3, ClientConnectionFactoryOverHTTP3.HTTP3, ClientConnector, ClientConnector.ClientSelectorManager, ClientHTTP3Session, ClientProtocolSession, ClientQuicSession, CompressionPool, ConfigurableSpnegoLoginService, ConnectHandler, ConnectHandler.ConnectManager, ConstraintSecurityHandler, ContainerLifeCycle, ContextHandler, ContextHandlerCollection, CustomRequestLog, CyclicTimeout, CyclicTimeouts, DataSourceCloser, DataSourceLoginService, DebugHandler, DefaultHandler, DefaultSessionCache, DefaultSessionIdManager, DeflaterPool, DelegatingThreadPool, DeploymentManager, DetectorConnectionFactory, DuplexConnectionPool, DuplexHttpDestination, EatWhatYouKill, ErrorHandler, ErrorPageErrorHandler, ExecutorThreadPool, FileBufferedResponseHandler, FileDestroyable, FileSessionDataStore, GCloudSessionDataStore, GZIPContentDecoder, GZIPContentDecoder, GzipHandler, GzipHttpInputInterceptor, HandlerCollection, HandlerList, HandlerWrapper, HashLoginService, HotSwapHandler, HTTP2Client, HTTP2ClientSession, HTTP2CServerConnectionFactory, HTTP2ServerConnectionFactory, HTTP2ServerSession, HTTP2Session, HTTP3Client, HTTP3ServerConnectionFactory, HTTP3ServerConnector, HTTP3Session, HTTP3SessionClient, HTTP3SessionServer, HttpClient, HttpClientTransportDynamic, HttpClientTransportOverFCGI, HttpClientTransportOverHTTP, HttpClientTransportOverHTTP2, HttpClientTransportOverHTTP3, HttpClientTransportOverUnixSockets, HttpConnectionFactory, HttpDestination, HttpSpiContextHandler, IdleTimeoutHandler, InetAccessHandler, InfinispanSessionDataStore, InflaterPool, JAASLoginService, JakartaWebSocketClientContainer, JakartaWebSocketContainer, JakartaWebSocketServerContainer, JakartaWebSocketShutdownContainer, JDBCLoginService, JDBCSessionDataStore, JettyServerFrameHandlerFactory, JettyWebSocketFrameHandlerFactory, JettyWebSocketServerContainer, KeyStoreScanner, LeakTrackingByteBufferPool, LeakTrackingConnectionPool, LocalConnector, LowResourceMonitor, ManagedSelector, MBeanContainer, MongoSessionDataStore, MonitoredQueuedThreadPool, MovedContextHandler, MultiplexConnectionPool, MultiplexHttpDestination, NegotiatingServerConnectionFactory, NetworkTrafficServerConnector, NoSqlSessionDataStore, NullSessionCache, NullSessionDataStore, OpenIdConfiguration, OpenIdLoginService, OptionalSslConnectionFactory, ProtocolSession, ProxyConnectionFactory, QueuedThreadPool, QuicServerConnector, QuicSession, RandomConnectionPool, RawHTTP2ServerConnectionFactory, RawHTTP3ServerConnectionFactory, RequestLogHandler, ResourceHandler, RewriteHandler, RoundRobinConnectionPool, Scanner, ScanningAppProvider, ScopedHandler, SecuredRedirectHandler, SecurityHandler, SelectorManager, Server, ServerConnector, ServerConnector.ServerConnectorManager, ServerFCGIConnectionFactory, ServerHTTP3Session, ServerProtocolSession, ServerQuicSession, ServletContextHandler, ServletContextHandler.ServletContainerInitializerStarter, ServletHandler, ServletTester, SessionHandler, ShutdownHandler, SslConnectionFactory, StatisticsHandler, ThreadLimitHandler, TimeoutCompleteListener, UnixSocketConnector, UnixSocketConnector.UnixSocketConnectorManager, ValidatingConnectionPool, WebAppContext, WebAppProvider, WebSocketClient, WebSocketComponents, WebSocketCoreClient, WebSocketServerComponents, WebSocketUpgradeHandler

@ManagedObject public interface Destroyable

A Destroyable is an object which can be destroyed.

Typically a Destroyable is a LifeCycle component that can hold onto resources over multiple start/stop cycles. A call to destroy will release all resources and will prevent any further start/stop cycles from being successful.

  • Method Summary

    Modifier and Type
    Method
    Description
    void