BundleEvent
listener.
When a BundleEvent
is fired, it is synchronously delivered to a BundleListener
.
SynchronousBundleListener
is a listener interface that may be implemented by a bundle developer.
A SynchronousBundleListener
object is registered with the Framework using the BundleContext#addBundleListener method. SynchronousBundleListener
objects are called with a BundleEvent
object when a bundle has been installed, resolved, starting, started, stopping, stopped, updated, unresolved, or uninstalled.
Unlike normal BundleListener
objects, SynchronousBundleListener
s are synchronously called during bundle lifecycle processing. The bundle lifecycle processing will not proceed until all SynchronousBundleListener
s have completed. SynchronousBundleListener
objects will be called prior to BundleListener
objects.
AdminPermission[bundle,LISTENER]
is required to add or remove a SynchronousBundleListener
object.
Definition at line 50 of file SynchronousBundleListener.java.