Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
| OSGi Service Platform Release 3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.osgi.framework
Interface SynchronousBundleListener

All Superinterfaces:
  BundleListener, java.util.EventListener

public interface SynchronousBundleListener
extends BundleListener

A synchronous `BundleEvent` listener.

`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(org.osgi.framework.BundleListener)`method. `SynchronousBundleListener` objects are called with a `BundleEvent` object when a bundle has been installed, started, stopped, updated, or uninstalled.

Unlike normal `BundleListener` objects, `SynchronousBundleListener`s are synchronously called during bundle life cycle processing. The bundle life cycle processing will not proceed until all `SynchronousBundleListener`s have completed. `SynchronousBundleListener` objects will be called prior to `BundleListener` objects.

`AdminPermission` is required to add or remove a `SynchronousBundleListener` object.

Since:
  1.1
See Also:
  `BundleEvent`

Methods inherited from interface org.osgi.framework.BundleListener
`bundleChanged`

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
| OSGi Service Platform Release 3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) OSGi Alliance (2000, 2003). All Rights Reserved.