Interface SynchronousBundleListener
-
- All Superinterfaces:
BundleListener
,java.util.EventListener
public interface SynchronousBundleListener extends BundleListener
A synchronousBundleEvent
listener.SynchronousBundleListener
is a listener interface that may be implemented by a bundle developer. When aBundleEvent
is fired, it is synchronously delivered to aSynchronousBundleListener
. The Framework may deliverBundleEvent
objects to aSynchronousBundleListener
out of order and may concurrently call and/or reenter aSynchronousBundleListener
.A
SynchronousBundleListener
object is registered with the Framework using theBundleContext.addBundleListener(org.osgi.framework.BundleListener)
method.SynchronousBundleListener
objects are called with aBundleEvent
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 allSynchronousBundleListener
s have completed.SynchronousBundleListener
objects will be called prior toBundleListener
objects.AdminPermission[bundle,LISTENER]
is required to add or remove aSynchronousBundleListener
object.- Since:
- 1.1
- Version:
- $Revision: 5673 $
- See Also:
BundleEvent
-
-
Method Summary
-
Methods inherited from interface org.osgi.framework.BundleListener
bundleChanged
-
-