|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.messages.GlobalMulticaster
public class GlobalMulticaster
Global 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 Summary | |
---|---|
GlobalMulticaster()
Keeps track of which instance this is. |
Method Summary | |
---|---|
void |
addApplicationListener(org.springframework.context.ApplicationListener arg0)
|
void |
addApplicationListenerBean(String arg0)
|
void |
multicastEvent(org.springframework.context.ApplicationEvent arg0)
Multicast only if this instance was the first created. |
void |
removeAllListeners()
|
void |
removeApplicationListener(org.springframework.context.ApplicationListener arg0)
|
void |
removeApplicationListenerBean(String arg0)
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GlobalMulticaster()
multicastEvent(ApplicationEvent)
, but all
instances cann add to the static list of
listeners
.
Method Detail |
---|
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
public void addApplicationListener(org.springframework.context.ApplicationListener arg0)
addApplicationListener
in interface org.springframework.context.event.ApplicationEventMulticaster
public void multicastEvent(org.springframework.context.ApplicationEvent arg0)
multicastEvent
in interface org.springframework.context.event.ApplicationEventMulticaster
public void removeAllListeners()
removeAllListeners
in interface org.springframework.context.event.ApplicationEventMulticaster
public void removeApplicationListener(org.springframework.context.ApplicationListener arg0)
removeApplicationListener
in interface org.springframework.context.event.ApplicationEventMulticaster
public void addApplicationListenerBean(String arg0)
addApplicationListenerBean
in interface org.springframework.context.event.ApplicationEventMulticaster
public void removeApplicationListenerBean(String arg0)
removeApplicationListenerBean
in interface org.springframework.context.event.ApplicationEventMulticaster
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.2.0-r7571-b29
Copyright © 2009 The University of Dundee. All Rights Reserved.