org.apache.felix.framework.util
Class EventDispatcher
java.lang.Object
org.apache.felix.framework.util.EventDispatcher
public class EventDispatcher
- extends java.lang.Object
Method Summary |
void |
addListener(org.osgi.framework.Bundle bundle,
java.lang.Class clazz,
java.util.EventListener l,
org.osgi.framework.Filter filter)
|
void |
fireBundleEvent(org.osgi.framework.BundleEvent event)
|
void |
fireFrameworkEvent(org.osgi.framework.FrameworkEvent event)
|
void |
fireServiceEvent(org.osgi.framework.ServiceEvent event)
|
void |
removeListener(org.osgi.framework.Bundle bundle,
java.lang.Class clazz,
java.util.EventListener l)
|
void |
removeListeners(org.osgi.framework.Bundle bundle)
|
static void |
shutdown()
|
static EventDispatcher |
start(Logger logger)
|
boolean |
updateListener(org.osgi.framework.Bundle bundle,
java.lang.Class clazz,
java.util.EventListener l,
org.osgi.framework.Filter filter)
|
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(org.osgi.framework.Bundle bundle,
java.lang.Class clazz,
java.util.EventListener l,
org.osgi.framework.Filter filter)
removeListener
public void removeListener(org.osgi.framework.Bundle bundle,
java.lang.Class clazz,
java.util.EventListener l)
removeListeners
public void removeListeners(org.osgi.framework.Bundle bundle)
updateListener
public boolean updateListener(org.osgi.framework.Bundle bundle,
java.lang.Class clazz,
java.util.EventListener l,
org.osgi.framework.Filter filter)
fireFrameworkEvent
public void fireFrameworkEvent(org.osgi.framework.FrameworkEvent event)
fireBundleEvent
public void fireBundleEvent(org.osgi.framework.BundleEvent event)
fireServiceEvent
public void fireServiceEvent(org.osgi.framework.ServiceEvent event)