Uses of Interface
org.springframework.context.SmartLifecycle
Package
Description
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.reactive
-
Uses of SmartLifecycle in org.springframework.jca.endpoint
Modifier and TypeClassDescriptionclass
Generic 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
Modifier and TypeClassDescriptionclass
Creates the necessaryMessageListenerContainer
instances for the registered endpoints. -
Uses of SmartLifecycle in org.springframework.jms.listener
Modifier and TypeInterfaceDescriptioninterface
Internal abstraction used by the framework representing a message listener container.Modifier and TypeClassDescriptionclass
Common base class for all containers which need to implement listening based on a JMS Connection (either shared or freshly obtained for each attempt).class
Abstract base class for Spring message listener container implementations.class
Base class for listener container implementations which are based on polling.class
Message 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).class
Message 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
Modifier and TypeClassDescriptionclass
Extension of the generic JCA 1.5GenericMessageEndpointManager
, adding JMS-specific support for ActivationSpec configuration. -
Uses of SmartLifecycle in org.springframework.messaging.simp.annotation.support
Modifier and TypeClassDescriptionclass
A handler for messages delegating to@MessageMapping
and@SubscribeMapping
annotated methods. -
Uses of SmartLifecycle in org.springframework.messaging.simp.broker
Modifier and TypeClassDescriptionclass
Abstract base class for aMessageHandler
that broker messages to registered subscribers.class
A "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
Modifier and TypeClassDescriptionclass
AMessageHandler
that handles messages by forwarding them to a STOMP broker. -
Uses of SmartLifecycle in org.springframework.messaging.simp.user
Modifier and TypeClassDescriptionclass
MessageHandler
with support for "user" destinations. -
Uses of SmartLifecycle in org.springframework.scheduling.concurrent
Modifier and TypeClassDescriptionclass
Base class for setting up aExecutorService
(typically aThreadPoolExecutor
orScheduledThreadPoolExecutor
).class
FactoryBean
that sets up aScheduledExecutorService
(by default: aScheduledThreadPoolExecutor
) and exposes it for bean references.class
A simple implementation of Spring'sTaskScheduler
interface, using a single scheduler thread and executing every scheduled task in an individual separate thread.class
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a bean reference of its nativeExecutorService
type.class
JavaBean that allows for configuring aThreadPoolExecutor
in bean style (through its "corePoolSize", "maxPoolSize", "keepAliveSeconds", "queueCapacity" properties) and exposing it as a SpringTaskExecutor
.class
A standard implementation of Spring'sTaskScheduler
interface, wrapping a nativeScheduledThreadPoolExecutor
and providing all applicable configuration options for it. -
Uses of SmartLifecycle in org.springframework.scheduling.quartz
Modifier and TypeClassDescriptionclass
FactoryBean
that 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
Modifier and TypeClassDescriptionclass
Base class for a connection manager that automates the process of connecting to a WebSocket server with the Spring ApplicationContext lifecycle.class
WebSocketconnection manager
that connects to the server viaWebSocketClient
and handles the session with aWebSocketHandler
. -
Uses of SmartLifecycle in org.springframework.web.socket.client.standard
Modifier and TypeClassDescriptionclass
WebSocketconnection manager
that connects to the server viaWebSocketContainer
and handles the session with an@ClientEndpoint
endpoint.class
WebSocketconnection manager
that connects to the server viaWebSocketContainer
and handles the session with anEndpoint
. -
Uses of SmartLifecycle in org.springframework.web.socket.messaging
Modifier and TypeClassDescriptionclass
An implementation ofWebSocketHandler
that delegates incoming WebSocket messages to aSubProtocolHandler
along with aMessageChannel
to which the sub-protocol handler can send messages from WebSocket clients to the application.class
A subclass ofSimpAnnotationMethodMessageHandler
to provide support forControllerAdvice
with global@MessageExceptionHandler
methods.class
A STOMP over WebSocket client that connects using an implementation ofWebSocketClient
includingSockJsClient
. -
Uses of SmartLifecycle in org.springframework.web.socket.server.support
Modifier and TypeClassDescriptionclass
Extension ofSimpleUrlHandlerMapping
with support for more precise mapping of WebSocket handshake requests to handlers of typeWebSocketHttpRequestHandler
.