- All Superinterfaces:
- All Known Subinterfaces:
@ConsumerType @FunctionalInterface public interface BundleListener extends java.util.EventListenerA
BundleListeneris a listener interface that may be implemented by a bundle developer. When a
BundleEventis fired, it is asynchronously delivered to a
BundleListener. The Framework delivers
BundleEventobjects to a
BundleListenerin order and must not concurrently call a
BundleListenerobject is registered with the Framework using the
BundleListeners are called with a
BundleEventobject when a bundle has been installed, resolved, started, stopped, updated, unresolved, or uninstalled.
- See Also:
void bundleChanged(BundleEvent event)Receives notification that a bundle has had a lifecycle change.