|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gemini.blueprint.context.event.OsgiBundleApplicationContextEventMulticasterAdapter
public class OsgiBundleApplicationContextEventMulticasterAdapter
Adapter class between Spring ApplicationEventMulticaster and Spring-DM
OsgiBundleApplicationContextEventMulticaster. Allows reusage (especially considering the contractual
similarities between the two interfaces) of existing implementations for propagating Spring-DM events.
| Constructor Summary | |
|---|---|
OsgiBundleApplicationContextEventMulticasterAdapter(org.springframework.context.event.ApplicationEventMulticaster delegatedMulticaster)
Constructs a new OsgiBundleApplicationContextEventMulticasterAdapter instance. |
|
| Method Summary | |
|---|---|
void |
addApplicationListener(OsgiBundleApplicationContextListener osgiListener)
Add an OSGi listener to be notified of all events. |
void |
multicastEvent(OsgiBundleApplicationContextEvent osgiEvent)
Multicast the given application event to appropriate listeners. |
void |
removeAllListeners()
Remove all listeners registered with this multicaster. |
void |
removeApplicationListener(OsgiBundleApplicationContextListener osgiListener)
Remove an OSGi listener from the notification list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OsgiBundleApplicationContextEventMulticasterAdapter(org.springframework.context.event.ApplicationEventMulticaster delegatedMulticaster)
OsgiBundleApplicationContextEventMulticasterAdapter instance.
delegatedMulticaster - | Method Detail |
|---|
public void addApplicationListener(OsgiBundleApplicationContextListener osgiListener)
addApplicationListener in interface OsgiBundleApplicationContextEventMulticasterosgiListener - the listener to addpublic void multicastEvent(OsgiBundleApplicationContextEvent osgiEvent)
OsgiBundleApplicationContextEventMulticaster
multicastEvent in interface OsgiBundleApplicationContextEventMulticasterosgiEvent - the event to multicastpublic void removeAllListeners()
OsgiBundleApplicationContextEventMulticaster
removeAllListeners in interface OsgiBundleApplicationContextEventMulticasterpublic void removeApplicationListener(OsgiBundleApplicationContextListener osgiListener)
removeApplicationListener in interface OsgiBundleApplicationContextEventMulticasterosgiListener - the listener to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||