public class GlobalMulticaster
extends java.lang.Object
implements org.springframework.context.event.ApplicationEventMulticaster, org.springframework.beans.factory.BeanFactoryAware
ApplicationEventMulticaster which can be used to integrate
 parent and child OmeroContext instances. A singleton, this instance
 will delegate all method calls to a single static SimpleApplicationEventMulticaster.OmeroContext, 
OmeroContext.publishEvent(ApplicationEvent), 
OmeroContext.onRefresh()| Constructor and Description | 
|---|
| GlobalMulticaster()Keeps track of which instance this is. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addApplicationListener(org.springframework.context.ApplicationListener arg0) | 
| void | addApplicationListenerBean(java.lang.String arg0) | 
| void | multicastEvent(org.springframework.context.ApplicationEvent arg0)Multicast only if this instance was the first created. | 
| void | multicastEvent(org.springframework.context.ApplicationEvent event,
              org.springframework.core.ResolvableType eventType) | 
| void | removeAllListeners() | 
| void | removeApplicationListener(org.springframework.context.ApplicationListener arg0) | 
| void | removeApplicationListenerBean(java.lang.String arg0) | 
| void | setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) | 
public GlobalMulticaster()
multicastEvent(ApplicationEvent), but all
 instances cann add to the static list of
 listeners.public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
                    throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic void addApplicationListener(org.springframework.context.ApplicationListener arg0)
addApplicationListener in interface org.springframework.context.event.ApplicationEventMulticasterpublic void multicastEvent(org.springframework.context.ApplicationEvent arg0)
multicastEvent in interface org.springframework.context.event.ApplicationEventMulticasterpublic void multicastEvent(org.springframework.context.ApplicationEvent event,
                           org.springframework.core.ResolvableType eventType)
multicastEvent in interface org.springframework.context.event.ApplicationEventMulticasterpublic void removeAllListeners()
removeAllListeners in interface org.springframework.context.event.ApplicationEventMulticasterpublic void removeApplicationListener(org.springframework.context.ApplicationListener arg0)
removeApplicationListener in interface org.springframework.context.event.ApplicationEventMulticasterpublic void addApplicationListenerBean(java.lang.String arg0)
addApplicationListenerBean in interface org.springframework.context.event.ApplicationEventMulticasterpublic void removeApplicationListenerBean(java.lang.String arg0)
removeApplicationListenerBean in interface org.springframework.context.event.ApplicationEventMulticaster