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.beans.factory.Aware
,org.springframework.beans.factory.BeanClassLoaderAware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.context.event.ApplicationEventMulticaster
public class OrderedApplicationEventMulticaster extends org.springframework.context.event.SimpleApplicationEventMulticaster
ApplicationEventMulticaster
that will respect values returned byApplicationListener
s that are alsoOrdered
. If there is a mixture of ordered and non-orderedApplicationListener
s, all orderedApplicationListener
s will precede all non-orderedApplicationListener
s. This class must be registered as a bean with the nameapplicationEventMulticaster
.See SPR-5240.
- Author:
- mlowery
- See Also:
AbstractApplicationContext.APPLICATION_EVENT_MULTICASTER_BEAN_NAME
-
-
Constructor Summary
Constructors Constructor Description OrderedApplicationEventMulticaster()
OrderedApplicationEventMulticaster(org.springframework.beans.factory.BeanFactory beanFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
multicastEvent(org.springframework.context.ApplicationEvent event)
-
Methods inherited from class org.springframework.context.event.SimpleApplicationEventMulticaster
getErrorHandler, getTaskExecutor, invokeListener, multicastEvent, setErrorHandler, setTaskExecutor
-
Methods inherited from class org.springframework.context.event.AbstractApplicationEventMulticaster
addApplicationListener, addApplicationListenerBean, getApplicationListeners, getApplicationListeners, removeAllListeners, removeApplicationListener, removeApplicationListenerBean, removeApplicationListenerBeans, removeApplicationListeners, setBeanClassLoader, setBeanFactory, supportsEvent, supportsEvent
-
-
-
-
Method Detail
-
multicastEvent
public void multicastEvent(org.springframework.context.ApplicationEvent event)
- Specified by:
multicastEvent
in interfaceorg.springframework.context.event.ApplicationEventMulticaster
- Overrides:
multicastEvent
in classorg.springframework.context.event.SimpleApplicationEventMulticaster
-
-