org.osgi.framework
Interface BundleListener

All Superinterfaces:
java.util.EventListener
All Known Subinterfaces:
SynchronousBundleListener

public interface BundleListener
extends java.util.EventListener

A BundleEvent listener.

BundleListener is a listener interface that may be implemented by a bundle developer.

A BundleListener object is registered with the Framework using the BundleContext.addBundleListener(org.osgi.framework.BundleListener)method. BundleListeners are called with a BundleEvent object when a bundle has been installed, started, stopped, updated, or uninstalled.

Version:
$Revision: 1.1 $
Author:
Open Services Gateway Initiative
See Also:
BundleEvent

Method Summary
 void bundleChanged(BundleEvent event)
          Receives notification that a bundle has had a lifecycle change.
 

Method Detail

bundleChanged

void bundleChanged(BundleEvent event)
Receives notification that a bundle has had a lifecycle change.

Parameters:
event - The BundleEvent.


Copyright © 2009 IKS, ETH Zurich. All Rights Reserved.