org.apache.felix.framework.util
Class EventDispatcher
java.lang.Object
org.apache.felix.framework.util.EventDispatcher
public class EventDispatcher
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
start
public static EventDispatcher start(Logger logger)
shutdown
public static void shutdown()
addListener
public void addListener(Bundle bundle,
Class clazz,
EventListener l,
Filter filter)
removeListener
public ListenerHook.ListenerInfo removeListener(Bundle bundle,
Class clazz,
EventListener l)
removeListeners
public void removeListeners(Bundle bundle)
updateListener
public boolean updateListener(Bundle bundle,
Class clazz,
EventListener l,
Filter filter)
wrapAllServiceListeners
public Collection wrapAllServiceListeners()
- 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
public void fireFrameworkEvent(FrameworkEvent event)
fireBundleEvent
public void fireBundleEvent(BundleEvent event)
fireServiceEvent
public void fireServiceEvent(ServiceEvent event)
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.