- All Superinterfaces:
- All Known Subinterfaces:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@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.