Top Description Methods
org.osgi.service.cm

public Interface ConfigurationListener

Known Direct Subinterfaces
org.osgi.service.cm.SynchronousConfigurationListener
Annotations
@ConsumerType
Imports
org.osgi.annotation.versioning.ConsumerType

Listener for Configuration Events. When a ConfigurationEvent is fired, it is asynchronously delivered to all ConfigurationListeners.

ConfigurationListener objects are registered with the Framework service registry and are notified with a ConfigurationEvent object when an event is fired.

ConfigurationListener objects can inspect the received ConfigurationEvent object to determine its type, the pid of the Configuration object with which it is associated, and the Configuration Admin service that fired the event.

Security Considerations. Bundles wishing to monitor configuration events will require ServicePermission[ConfigurationListener,REGISTER] to register a ConfigurationListener service.

Author
$Id: 2dd02f86dc67b2354dc668db9baadc1d8338633b $
Since
1.2

Method Summary

Modifier and TypeMethod and Description
public void
configurationEvent(ConfigurationEvent
The ConfigurationEvent.
event
)

Receives notification of a Configuration that has changed.

Method Detail

configurationEventback to summary
public void configurationEvent(ConfigurationEvent event)

Receives notification of a Configuration that has changed.

Parameters
event:ConfigurationEvent

The ConfigurationEvent.