org.pentaho.platform.engine.security.event
Class OrderedApplicationEventMulticaster
java.lang.Object
org.springframework.context.event.AbstractApplicationEventMulticaster
org.springframework.context.event.SimpleApplicationEventMulticaster
org.pentaho.platform.engine.security.event.OrderedApplicationEventMulticaster
- All Implemented Interfaces:
- org.springframework.context.event.ApplicationEventMulticaster
public class OrderedApplicationEventMulticaster
- extends org.springframework.context.event.SimpleApplicationEventMulticaster
ApplicationEventMulticaster
that will respect values returned by ApplicationListener
s that are also
Ordered
. If there is a mixture of ordered and non-ordered ApplicationListener
s, all ordered
ApplicationListener
s will precede all non-ordered ApplicationListener
s. This class must be registered
as a bean with the name applicationEventMulticaster
.
See SPR-5240.
- Author:
- mlowery
- See Also:
AbstractApplicationContext.APPLICATION_EVENT_MULTICASTER_BEAN_NAME
Method Summary |
void |
multicastEvent(org.springframework.context.ApplicationEvent event)
|
Methods inherited from class org.springframework.context.event.SimpleApplicationEventMulticaster |
setTaskExecutor |
Methods inherited from class org.springframework.context.event.AbstractApplicationEventMulticaster |
addApplicationListener, removeAllListeners, removeApplicationListener, setCollectionClass, setConcurrentUpdates |
OrderedApplicationEventMulticaster
public OrderedApplicationEventMulticaster()
multicastEvent
public void multicastEvent(org.springframework.context.ApplicationEvent event)
- Specified by:
multicastEvent
in interface org.springframework.context.event.ApplicationEventMulticaster
- Overrides:
multicastEvent
in class org.springframework.context.event.SimpleApplicationEventMulticaster