org.pentaho.platform.engine.security.event
Class OrderedApplicationEventMulticaster

java.lang.Object
  extended by org.springframework.context.event.AbstractApplicationEventMulticaster
      extended by org.springframework.context.event.SimpleApplicationEventMulticaster
          extended by 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 ApplicationListeners that are also Ordered. If there is a mixture of ordered and non-ordered ApplicationListeners, all ordered ApplicationListeners will precede all non-ordered ApplicationListeners. 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

Constructor Summary
OrderedApplicationEventMulticaster()
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderedApplicationEventMulticaster

public OrderedApplicationEventMulticaster()
Method Detail

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