接口的使用
org.springframework.context.ApplicationEventPublisherAware
使用ApplicationEventPublisherAware的程序包 程序包 说明 org.springframework.context.event Support classes for application events, like standard context events.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.web.socket.messaging WebSocket integration for Spring's messaging module.org.springframework.context.event中ApplicationEventPublisherAware的使用
实现ApplicationEventPublisherAware的org.springframework.context.event中的类 修饰符和类型 类 说明 class
EventPublicationInterceptor
Interceptor
that publishes anApplicationEvent
to allApplicationListeners
registered with anApplicationEventPublisher
after each successful method invocation.org.springframework.messaging.simp.broker中ApplicationEventPublisherAware的使用
实现ApplicationEventPublisherAware的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中ApplicationEventPublisherAware的使用
实现ApplicationEventPublisherAware的org.springframework.messaging.simp.stomp中的类 修饰符和类型 类 说明 class
StompBrokerRelayMessageHandler
AMessageHandler
that handles messages by forwarding them to a STOMP broker.org.springframework.web.socket.messaging中ApplicationEventPublisherAware的使用
实现ApplicationEventPublisherAware的org.springframework.web.socket.messaging中的类 修饰符和类型 类 说明 class
StompSubProtocolHandler
ASubProtocolHandler
for STOMP that supports versions 1.0, 1.1, and 1.2 of the STOMP specification.