org.zeroexchange.event
Class ApplicationEventsDispatcher
java.lang.Object
org.zeroexchange.common.AbstractBeansRegistry<T>
org.zeroexchange.common.TypedBeansRegistry<P>
org.zeroexchange.common.processors.AbstractDataProcessorsRegistry<EventProcessor>
org.zeroexchange.event.ApplicationEventsDispatcher
- All Implemented Interfaces:
- org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.InitializingBean, BeansRegistry<EventProcessor>, EventsDispatcher
public class ApplicationEventsDispatcher
- extends AbstractDataProcessorsRegistry<EventProcessor>
- implements EventsDispatcher
The application-wide event dispatcher.
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationEventsDispatcher
public ApplicationEventsDispatcher()
publishEvent
@Transactional
public void publishEvent(Event event)
- Publishes the specified event.
- Specified by:
publishEvent
in interface EventsDispatcher
getBeanClass
protected Class<?> getBeanClass()
- Specified by:
getBeanClass
in class TypedBeansRegistry<EventProcessor>
Copyright © 2013. All Rights Reserved.