Uses of Interface
org.springframework.context.SmartLifecycle
Packages that use SmartLifecycle
Package
Description
Contains an abstraction over client-side HTTP.
Abstractions for reactive HTTP client support including
ClientHttpRequest and
ClientHttpResponse as well as a
ClientHttpConnector.This package provides a facility for generic JCA message endpoint management.
Support package for declarative messaging configuration,
with Java configuration and XML schema support.
This package contains the base message listener container facility.
This package provides JCA-based endpoint management for JMS message listeners.
Support classes for handling messages from simple messaging protocols
(like STOMP).
Provides a "simple" message broker implementation along with an abstract base
class and other supporting types such as a registry for subscriptions.
Generic support for simple messaging protocols (like STOMP).
Support for handling messages to "user" destinations (i.e.
Scheduling convenience classes for the
java.util.concurrent
and jakarta.enterprise.concurrent packages, allowing to set up a
ThreadPoolExecutor or ScheduledThreadPoolExecutor as a bean in a Spring
context.Support classes for the open source scheduler
Quartz,
allowing to set up Quartz Schedulers, JobDetails and
Triggers as beans in a Spring context.
Client-side abstractions for WebSocket applications.
Client-side classes for use with standard Jakarta WebSocket endpoints.
WebSocket integration for Spring's messaging module.
Server-side support classes including container-specific strategies
for upgrading a request.
-
Uses of SmartLifecycle in org.springframework.http.client
Classes in org.springframework.http.client that implement SmartLifecycleModifier and TypeClassDescriptionclassReactor-Netty implementation ofClientHttpRequestFactory.classFactory to manage Reactor Netty resources, i.e. -
Uses of SmartLifecycle in org.springframework.http.client.reactive
Classes in org.springframework.http.client.reactive that implement SmartLifecycleModifier and TypeClassDescriptionclassReactor-Netty implementation ofClientHttpConnector.classDeprecated. -
Uses of SmartLifecycle in org.springframework.jca.endpoint
Classes in org.springframework.jca.endpoint that implement SmartLifecycleModifier and TypeClassDescriptionclassGeneric bean that manages JCA 1.7 message endpoints within a Spring application context, activating and deactivating the endpoint as part of the application context's lifecycle. -
Uses of SmartLifecycle in org.springframework.jms.config
Classes in org.springframework.jms.config that implement SmartLifecycleModifier and TypeClassDescriptionclassCreates the necessaryMessageListenerContainerinstances for the registered endpoints. -
Uses of SmartLifecycle in org.springframework.jms.listener
Subinterfaces of SmartLifecycle in org.springframework.jms.listenerModifier and TypeInterfaceDescriptioninterfaceInternal abstraction used by the framework representing a message listener container.Classes in org.springframework.jms.listener that implement SmartLifecycleModifier and TypeClassDescriptionclassCommon base class for all containers which need to implement listening based on a JMS Connection (either shared or freshly obtained for each attempt).classAbstract base class for Spring message listener container implementations.classBase class for listener container implementations which are based on polling.classMessage listener container variant that uses plain JMS client APIs, specifically a loop ofMessageConsumer.receive()calls that also allow for transactional reception of messages (registering them with XA transactions).classMessage listener container that uses the plain JMS client API'sMessageConsumer.setMessageListener()method to create concurrent MessageConsumers for the specified listeners. -
Uses of SmartLifecycle in org.springframework.jms.listener.endpoint
Classes in org.springframework.jms.listener.endpoint that implement SmartLifecycleModifier and TypeClassDescriptionclassExtension of the generic JCA 1.5GenericMessageEndpointManager, adding JMS-specific support for ActivationSpec configuration. -
Uses of SmartLifecycle in org.springframework.messaging.simp.annotation.support
Classes in org.springframework.messaging.simp.annotation.support that implement SmartLifecycleModifier and TypeClassDescriptionclassA handler for messages delegating to@MessageMappingand@SubscribeMappingannotated methods. -
Uses of SmartLifecycle in org.springframework.messaging.simp.broker
Classes in org.springframework.messaging.simp.broker that implement SmartLifecycleModifier and TypeClassDescriptionclassAbstract base class for aMessageHandlerthat broker messages to registered subscribers.classA "simple" message broker that recognizes the message types defined inSimpMessageType, keeps track of subscriptions with the help of aSubscriptionRegistry, and sends messages to subscribers. -
Uses of SmartLifecycle in org.springframework.messaging.simp.stomp
Classes in org.springframework.messaging.simp.stomp that implement SmartLifecycleModifier and TypeClassDescriptionclassAMessageHandlerthat handles messages by forwarding them to a STOMP broker. -
Uses of SmartLifecycle in org.springframework.messaging.simp.user
Classes in org.springframework.messaging.simp.user that implement SmartLifecycleModifier and TypeClassDescriptionclassMessageHandlerwith support for "user" destinations. -
Uses of SmartLifecycle in org.springframework.scheduling.concurrent
Classes in org.springframework.scheduling.concurrent that implement SmartLifecycleModifier and TypeClassDescriptionclassBase class for setting up aExecutorService(typically aThreadPoolExecutororScheduledThreadPoolExecutor).classFactoryBeanthat sets up aScheduledExecutorService(by default: aScheduledThreadPoolExecutor) and exposes it for bean references.classA simple implementation of Spring'sTaskSchedulerinterface, using a single scheduler thread and executing every scheduled task in an individual separate thread.classJavaBean that allows for configuring aThreadPoolExecutorin bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its nativeExecutorServicetype.classJavaBean that allows for configuring aThreadPoolExecutorin bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a SpringTaskExecutor.classA standard implementation of Spring'sTaskSchedulerinterface, wrapping a nativeScheduledThreadPoolExecutorand providing all applicable configuration options for it. -
Uses of SmartLifecycle in org.springframework.scheduling.quartz
Classes in org.springframework.scheduling.quartz that implement SmartLifecycleModifier and TypeClassDescriptionclassFactoryBeanthat creates and configures a QuartzScheduler, manages its lifecycle as part of the Spring application context, and exposes the Scheduler as bean reference for dependency injection. -
Uses of SmartLifecycle in org.springframework.web.socket.client
Classes in org.springframework.web.socket.client that implement SmartLifecycleModifier and TypeClassDescriptionclassBase class for a connection manager that automates the process of connecting to a WebSocket server with the Spring ApplicationContext lifecycle.classWebSocketconnection managerthat connects to the server viaWebSocketClientand handles the session with aWebSocketHandler. -
Uses of SmartLifecycle in org.springframework.web.socket.client.standard
Classes in org.springframework.web.socket.client.standard that implement SmartLifecycleModifier and TypeClassDescriptionclassWebSocketconnection managerthat connects to the server viaWebSocketContainerand handles the session with an@ClientEndpointendpoint.classWebSocketconnection managerthat connects to the server viaWebSocketContainerand handles the session with anEndpoint. -
Uses of SmartLifecycle in org.springframework.web.socket.messaging
Classes in org.springframework.web.socket.messaging that implement SmartLifecycleModifier and TypeClassDescriptionclassAn implementation ofWebSocketHandlerthat delegates incoming WebSocket messages to aSubProtocolHandleralong with aMessageChannelto which the sub-protocol handler can send messages from WebSocket clients to the application.classA subclass ofSimpAnnotationMethodMessageHandlerto provide support forControllerAdvicewith global@MessageExceptionHandlermethods.classA STOMP over WebSocket client that connects using an implementation ofWebSocketClientincludingSockJsClient. -
Uses of SmartLifecycle in org.springframework.web.socket.server.support
Classes in org.springframework.web.socket.server.support that implement SmartLifecycleModifier and TypeClassDescriptionclassExtension ofSimpleUrlHandlerMappingwith support for more precise mapping of WebSocket handshake requests to handlers of typeWebSocketHttpRequestHandler.
ReactorResourceFactoryinstead.