接口的使用
org.springframework.context.SmartLifecycle
使用SmartLifecycle的程序包 程序包 说明 org.springframework.jca.endpoint This package provides a facility for generic JCA message endpoint management.org.springframework.jms.config Support package for declarative messaging configuration, with Java configuration and XML schema support.org.springframework.jms.listener This package contains the base message listener container facility.org.springframework.jms.listener.endpoint This package provides JCA-based endpoint management for JMS message listeners.org.springframework.messaging.simp.annotation.support Support classes for handling messages from simple messaging protocols (like STOMP).org.springframework.messaging.simp.broker Provides a "simple" message broker implementation along with an abstract base class and other supporting types such as a registry for subscriptions.org.springframework.messaging.simp.stomp Generic support for simple messaging protocols (like STOMP).org.springframework.messaging.simp.user Support for handling messages to "user" destinations (i.e. destinations that are unique to a user's sessions), primarily translating the destinations and then forwarding the updated message to the broker.org.springframework.scheduling.quartz Support classes for the open source scheduler Quartz, allowing to set up Quartz Schedulers, JobDetails and Triggers as beans in a Spring context.org.springframework.web.socket.client Client-side abstractions for WebSocket applications.org.springframework.web.socket.client.standard Client-side classes for use with standard Java WebSocket endpoints.org.springframework.web.socket.messaging WebSocket integration for Spring's messaging module.org.springframework.web.socket.server.support Server-side support classes including container-specific strategies for upgrading a request.org.springframework.jca.endpoint中SmartLifecycle的使用
实现SmartLifecycle的org.springframework.jca.endpoint中的类 修饰符和类型 类 说明 class
GenericMessageEndpointManager
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.org.springframework.jms.config中SmartLifecycle的使用
实现SmartLifecycle的org.springframework.jms.config中的类 修饰符和类型 类 说明 class
JmsListenerEndpointRegistry
Creates the necessaryMessageListenerContainer
instances for the registered endpoints.org.springframework.jms.listener中SmartLifecycle的使用
org.springframework.jms.listener中SmartLifecycle的子接口 修饰符和类型 接口 说明 interface
MessageListenerContainer
Internal abstraction used by the framework representing a message listener container.实现SmartLifecycle的org.springframework.jms.listener中的类 修饰符和类型 类 说明 class
AbstractJmsListeningContainer
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
AbstractMessageListenerContainer
Abstract base class for Spring message listener container implementations.class
AbstractPollingMessageListenerContainer
Base class for listener container implementations which are based on polling.class
DefaultMessageListenerContainer
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
SimpleMessageListenerContainer
Message listener container that uses the plain JMS client API'sMessageConsumer.setMessageListener()
method to create concurrent MessageConsumers for the specified listeners.org.springframework.jms.listener.endpoint中SmartLifecycle的使用
实现SmartLifecycle的org.springframework.jms.listener.endpoint中的类 修饰符和类型 类 说明 class
JmsMessageEndpointManager
Extension of the generic JCA 1.5GenericMessageEndpointManager
, adding JMS-specific support for ActivationSpec configuration.org.springframework.messaging.simp.annotation.support中SmartLifecycle的使用
实现SmartLifecycle的org.springframework.messaging.simp.annotation.support中的类 修饰符和类型 类 说明 class
SimpAnnotationMethodMessageHandler
A handler for messages delegating to@MessageMapping
and@SubscribeMapping
annotated methods.org.springframework.messaging.simp.broker中SmartLifecycle的使用
实现SmartLifecycle的org.springframework.messaging.simp.broker中的类 修饰符和类型 类 说明 class
AbstractBrokerMessageHandler
Abstract base class for aMessageHandler
that broker messages to registered subscribers.class
SimpleBrokerMessageHandler
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.org.springframework.messaging.simp.stomp中SmartLifecycle的使用
实现SmartLifecycle的org.springframework.messaging.simp.stomp中的类 修饰符和类型 类 说明 class
StompBrokerRelayMessageHandler
AMessageHandler
that handles messages by forwarding them to a STOMP broker.org.springframework.messaging.simp.user中SmartLifecycle的使用
实现SmartLifecycle的org.springframework.messaging.simp.user中的类 修饰符和类型 类 说明 class
UserDestinationMessageHandler
MessageHandler
with support for "user" destinations.org.springframework.scheduling.quartz中SmartLifecycle的使用
实现SmartLifecycle的org.springframework.scheduling.quartz中的类 修饰符和类型 类 说明 class
SchedulerFactoryBean
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.org.springframework.web.socket.client中SmartLifecycle的使用
实现SmartLifecycle的org.springframework.web.socket.client中的类 修饰符和类型 类 说明 class
ConnectionManagerSupport
A base class for WebSocket connection managers.class
WebSocketConnectionManager
A WebSocket connection manager that is given a URI, aWebSocketClient
, and aWebSocketHandler
, connects to a WebSocket server throughConnectionManagerSupport.start()
andConnectionManagerSupport.stop()
methods.org.springframework.web.socket.client.standard中SmartLifecycle的使用
实现SmartLifecycle的org.springframework.web.socket.client.standard中的类 修饰符和类型 类 说明 class
AnnotatedEndpointConnectionManager
A WebSocket connection manager that is given a URI, aClientEndpoint
-annotated endpoint, connects to a WebSocket server through theConnectionManagerSupport.start()
andConnectionManagerSupport.stop()
methods.class
EndpointConnectionManager
A WebSocket connection manager that is given a URI, anEndpoint
, connects to a WebSocket server through theConnectionManagerSupport.start()
andConnectionManagerSupport.stop()
methods.org.springframework.web.socket.messaging中SmartLifecycle的使用
实现SmartLifecycle的org.springframework.web.socket.messaging中的类 修饰符和类型 类 说明 class
SubProtocolWebSocketHandler
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
WebSocketAnnotationMethodMessageHandler
A sub-class ofSimpAnnotationMethodMessageHandler
to provide support forControllerAdvice
with global@MessageExceptionHandler
methods.class
WebSocketStompClient
A STOMP over WebSocket client that connects using an implementation ofWebSocketClient
includingSockJsClient
.org.springframework.web.socket.server.support中SmartLifecycle的使用
实现SmartLifecycle的org.springframework.web.socket.server.support中的类 修饰符和类型 类 说明 class
WebSocketHandlerMapping
An extension ofSimpleUrlHandlerMapping
that is also aSmartLifecycle
container and propagates start and stop calls to any handlers that implementLifecycle
.