OSGi™ Service Platform
Release 4

Interface FrameworkListener

All Superinterfaces:

public interface FrameworkListener
extends java.util.EventListener

A FrameworkEvent listener. When a FrameworkEvent is fired, it is asynchronously delivered to a FrameworkListener.

FrameworkListener is a listener interface that may be implemented by a bundle developer. A FrameworkListener object is registered with the Framework using the BundleContext.addFrameworkListener(org.osgi.framework.FrameworkListener) method. FrameworkListener objects are called with a FrameworkEvent objects when the Framework starts and when asynchronous errors occur.

See Also:

Method Summary
 void frameworkEvent(FrameworkEvent event)
          Receives notification of a general FrameworkEvent object.

Method Detail


public void frameworkEvent(FrameworkEvent event)
Receives notification of a general FrameworkEvent object.

event - The FrameworkEvent object.

OSGi™ Service Platform
Release 4

Copyright © OSGi Alliance (2000, 2006). All Rights Reserved. Licensed under the OSGi Specification License, Version 1.0