public interface BundleListener
extends java.util.EventListener
BundleListener is a listener interface that may be implemented by a bundle developer.
A BundleListener object is registered with the Framework using the
BundleContext.addBundleListener(org.osgi.framework.BundleListener)
method.
BundleListeners are called with a BundleEvent object when a bundle has been
installed, started, stopped, updated, or uninstalled.
BundleEvent
Modifier and Type | Method and Description |
---|---|
void |
bundleChanged(BundleEvent event)
Receives notification that a bundle has had a lifecycle change.
|
void bundleChanged(BundleEvent event)
event
- The BundleEvent.