org.osgi.framework.SynchronousBundleListener Interface Reference

Inheritance diagram for org.osgi.framework.SynchronousBundleListener:

org.osgi.framework.BundleListener

List of all members.


Detailed Description

A synchronous 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, SynchronousBundleListeners are synchronously called during bundle lifecycle processing. The bundle lifecycle processing will not proceed until all SynchronousBundleListeners have completed. SynchronousBundleListener objects will be called prior to BundleListener objects.

AdminPermission[bundle,LISTENER] is required to add or remove a SynchronousBundleListener object.

Version:
Revision
1.14
Since:
1.1
See also:
BundleEvent

Definition at line 50 of file SynchronousBundleListener.java.


The documentation for this interface was generated from the following file:
Generated on Mon Jan 11 21:19:24 2010 for OpenMobileIS by  doxygen 1.5.4