|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.felix.eventadmin.impl.adapter.BundleEventAdapter
public class BundleEventAdapter
This class registers itself as a listener for bundle events and posts them via the EventAdmin as specified in 113.6.4 OSGi R4 compendium.
| Constructor Summary | |
|---|---|
BundleEventAdapter(org.osgi.framework.BundleContext context,
org.osgi.service.event.EventAdmin admin)
The constructor of the adapter. |
|
| Method Summary | |
|---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent event)
Once a bundle event is received this method assembles and posts an event via the EventAdmin as specified in 113.6.4 OSGi R4 compendium. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BundleEventAdapter(org.osgi.framework.BundleContext context,
org.osgi.service.event.EventAdmin admin)
context - The bundle context with which to register as a listener.admin - The EventAdmin to use for posting events.| Method Detail |
|---|
public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged in interface org.osgi.framework.BundleListenerevent - The event to adapt.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||