Package org.apache.felix.framework.util
Class EventDispatcher
java.lang.Object
org.apache.felix.framework.util.EventDispatcher
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionaddListener(BundleContext bc, Class clazz, EventListener l, Filter filter) voidfireBundleEvent(BundleEvent event, Framework felix) voidfireFrameworkEvent(FrameworkEvent event) voidfireServiceEvent(ServiceEvent event, Dictionary oldProps, Framework felix) Returns all existing service listener information into a collection of ListenerHook.ListenerInfo objects.removeListener(BundleContext bc, Class clazz, EventListener l) voidvoidvoidupdateListener(BundleContext bc, Class clazz, EventListener l, Filter filter)  
- 
Constructor Details
- 
EventDispatcher
 
 - 
 - 
Method Details
- 
startDispatching
public void startDispatching() - 
stopDispatching
public void stopDispatching() - 
addListener
 - 
removeListener
 - 
removeListeners
 - 
updateListener
 - 
getAllServiceListeners
Returns all existing service listener information into a collection of ListenerHook.ListenerInfo objects. This is used the first time a listener hook is registered to synchronize it with the existing set of listeners.- Returns:
 - Returns all existing service listener information into a collection of ListenerHook.ListenerInfo objects
 
 - 
fireFrameworkEvent
 - 
fireBundleEvent
 - 
fireServiceEvent
 
 -