@ConsumerType public interface SynchronousBundleListener extends BundleListener
SynchronousBundleListeneris a listener interface that may be implemented by a bundle developer. When a
BundleEventis fired, it is synchronously delivered to a
SynchronousBundleListener. The Framework may deliver
BundleEventobjects to a
SynchronousBundleListenerout of order and may concurrently call and/or reenter a
LAZY_ACTIVATION, the Framework must not
hold the referenced bundle's "state change" lock when the
BundleEvent is delivered to a
BundleEvent types, the Framework must hold the referenced
bundle's "state change" lock when the
delivered to a
SynchronousBundleListener cannot directly call life cycle methods on
the referenced bundle when the Framework is holding the referenced bundle's
"state change" lock.
SynchronousBundleListener object is registered with the Framework
SynchronousBundleListener objects are called with a
BundleEvent object when a bundle has been installed, resolved,
starting, started, stopping, stopped, updated, unresolved, or uninstalled.
SynchronousBundleListeners are synchronously called during bundle
lifecycle processing. The bundle lifecycle processing will not proceed until
SynchronousBundleListeners have completed.
SynchronousBundleListener objects will be called prior to
AdminPermission[bundle,LISTENER] is required to add or remove a