OSGi™ Service Platform
Release 4 Version 4.1

org.osgi.service.cm
Interface ConfigurationListener


public interface ConfigurationListener

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

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.

Since:
1.2

Method Summary
 void configurationEvent(ConfigurationEvent event)
          Receives notification of a Configuration that has changed.
 

Method Detail

configurationEvent

public void configurationEvent(ConfigurationEvent event)
Receives notification of a Configuration that has changed.

Parameters:
event - The ConfigurationEvent.

OSGi™ Service Platform
Release 4 Version 4.1

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