|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BundleListener
A BundleEvent
listener. BundleListener
is a
listener interface that may be implemented by a bundle developer. When a
BundleEvent
is fired, it is asynchronously delivered to a
BundleListener
. The Framework delivers
BundleEvent
objects to a BundleListener
in
order and must not concurrently call a BundleListener
.
A BundleListener
object is registered with the Framework using
the BundleContext.addBundleListener(org.osgi.framework.BundleListener)
method.
BundleListener
s are called with a BundleEvent
object when a bundle has been installed, resolved, started, stopped, updated,
unresolved, or uninstalled.
BundleEvent
Method Summary | |
---|---|
void |
bundleChanged(BundleEvent event)
Receives notification that a bundle has had a lifecycle change. |
Method Detail |
---|
void bundleChanged(BundleEvent event)
event
- The BundleEvent
.
|
OSGi™ Service Platform Release 4 Version 4.2 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |