接口 BundleListener
-
- 所有超级接口:
java.util.EventListener
- 所有已知子接口:
SynchronousBundleListener
@ConsumerType public interface BundleListener extends java.util.EventListenerABundleEventlistener.BundleListeneris a listener interface that may be implemented by a bundle developer. When aBundleEventis fired, it is asynchronously delivered to aBundleListener. The Framework deliversBundleEventobjects to aBundleListenerin order and must not concurrently call aBundleListener.A
BundleListenerobject is registered with the Framework using theBundleContext.addBundleListener(BundleListener)method.BundleListeners are called with aBundleEventobject when a bundle has been installed, resolved, started, stopped, updated, unresolved, or uninstalled.- 作者:
- $Id: 2c27d37a3a77e1c80f9b022f8dc2f614dff5f5ef $
- 另请参阅:
BundleEvent
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidbundleChanged(BundleEvent event)Receives notification that a bundle has had a lifecycle change.
-
-
-
方法详细资料
-
bundleChanged
void bundleChanged(BundleEvent event)
Receives notification that a bundle has had a lifecycle change.- 参数:
event- TheBundleEvent.
-
-