FrameworkListener
Date: 2016-06-24

org.osgi.framework

## Interface FrameworkListener

- All Superinterfaces:
    java.util.EventListener

      @ConsumerType
      public interface FrameworkListener
      extends java.util.EventListener

  A `FrameworkEvent` listener. `FrameworkListener` is a listener interface that may be implemented by a bundle developer. When a `FrameworkEvent` is fired, it is asynchronously delivered to a `FrameworkListener`. The Framework delivers `FrameworkEvent` objects to a `FrameworkListener` in order and must not concurrently call a `FrameworkListener`.

  A `FrameworkListener` object is registered with the Framework using the `BundleContext.addFrameworkListener(FrameworkListener)` method. `FrameworkListener` objects are called with a `FrameworkEvent` objects when the Framework starts and when asynchronous errors occur.

  See Also:
    `FrameworkEvent`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `frameworkEvent(FrameworkEvent event)` Receives notification of a general `FrameworkEvent` object.

- - ### Method Detail

    - #### frameworkEvent

          void frameworkEvent(FrameworkEvent event)

      Receives notification of a general `FrameworkEvent` object.
      Parameters:
        `event` - The `FrameworkEvent` object.