接口的使用
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中的类 修饰符和类型 类 说明 classEventPublicationInterceptorInterceptorthat publishes anApplicationEventto allApplicationListenersregistered with anApplicationEventPublisherafter each successful method invocation.org.springframework.messaging.simp.broker中ApplicationEventPublisherAware的使用
实现ApplicationEventPublisherAware的org.springframework.messaging.simp.broker中的类 修饰符和类型 类 说明 classAbstractBrokerMessageHandlerAbstract base class for aMessageHandlerthat broker messages to registered subscribers.classSimpleBrokerMessageHandlerA "simple" message broker that recognizes the message types defined inSimpMessageType, keeps track of subscriptions with the help of aSubscriptionRegistryand sends messages to subscribers.org.springframework.messaging.simp.stomp中ApplicationEventPublisherAware的使用
实现ApplicationEventPublisherAware的org.springframework.messaging.simp.stomp中的类 修饰符和类型 类 说明 classStompBrokerRelayMessageHandlerAMessageHandlerthat handles messages by forwarding them to a STOMP broker.org.springframework.web.socket.messaging中ApplicationEventPublisherAware的使用
实现ApplicationEventPublisherAware的org.springframework.web.socket.messaging中的类 修饰符和类型 类 说明 classStompSubProtocolHandlerASubProtocolHandlerfor STOMP that supports versions 1.0, 1.1, and 1.2 of the STOMP specification.