|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.webconsole.plugins.event.internal.EventListener
public class EventListener
This class listens for all known framework events: - bundle events - framework events - service events
Constructor Summary | |
---|---|
EventListener(PluginServlet plugin,
BundleContext context)
|
Method Summary | |
---|---|
void |
bundleChanged(BundleEvent event)
Receives notification that a bundle has had a lifecycle change. |
void |
destroy()
|
void |
frameworkEvent(FrameworkEvent event)
Receives notification of a general FrameworkEvent object. |
void |
serviceChanged(ServiceEvent event)
Receives notification that a service has had a lifecycle change. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventListener(PluginServlet plugin, BundleContext context)
Method Detail |
---|
public void destroy()
public void serviceChanged(ServiceEvent event)
ServiceListener
serviceChanged
in interface ServiceListener
event
- The ServiceEvent
object.ServiceListener.serviceChanged(org.osgi.framework.ServiceEvent)
public void frameworkEvent(FrameworkEvent event)
FrameworkListener
FrameworkEvent
object.
frameworkEvent
in interface FrameworkListener
event
- The FrameworkEvent
object.FrameworkListener.frameworkEvent(org.osgi.framework.FrameworkEvent)
public void bundleChanged(BundleEvent event)
BundleListener
bundleChanged
in interface BundleListener
event
- The BundleEvent
.BundleListener.bundleChanged(org.osgi.framework.BundleEvent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |