public class EventDispatcher extends Object
| Constructor and Description |
|---|
EventDispatcher(ServiceRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.Filter |
addListener(org.osgi.framework.BundleContext bc,
Class clazz,
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,
Dictionary oldProps,
org.osgi.framework.launch.Framework felix) |
Collection<org.osgi.framework.hooks.service.ListenerHook.ListenerInfo> |
getAllServiceListeners()
Returns all existing service listener information into a collection of
ListenerHook.ListenerInfo objects.
|
org.osgi.framework.hooks.service.ListenerHook.ListenerInfo |
removeListener(org.osgi.framework.BundleContext bc,
Class clazz,
EventListener l) |
void |
removeListeners(org.osgi.framework.BundleContext bc) |
void |
startDispatching() |
void |
stopDispatching() |
org.osgi.framework.Filter |
updateListener(org.osgi.framework.BundleContext bc,
Class clazz,
EventListener l,
org.osgi.framework.Filter filter) |
public EventDispatcher(ServiceRegistry registry)
public void startDispatching()
public void stopDispatching()
public org.osgi.framework.Filter addListener(org.osgi.framework.BundleContext bc,
Class clazz,
EventListener l,
org.osgi.framework.Filter filter)
public org.osgi.framework.hooks.service.ListenerHook.ListenerInfo removeListener(org.osgi.framework.BundleContext bc,
Class clazz,
EventListener l)
public void removeListeners(org.osgi.framework.BundleContext bc)
public org.osgi.framework.Filter updateListener(org.osgi.framework.BundleContext bc,
Class clazz,
EventListener l,
org.osgi.framework.Filter filter)
public Collection<org.osgi.framework.hooks.service.ListenerHook.ListenerInfo> getAllServiceListeners()
public void fireFrameworkEvent(org.osgi.framework.FrameworkEvent event)
public void fireBundleEvent(org.osgi.framework.BundleEvent event)
public void fireServiceEvent(org.osgi.framework.ServiceEvent event,
Dictionary oldProps,
org.osgi.framework.launch.Framework felix)
Copyright © 2015. All rights reserved.