OSGi Service Platform
Release 4

org.osgi.service.cm
Interface ConfigurationListener


public interface ConfigurationListener

Listener for Configuration Events.

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

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 broadcasted the event.

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

Since:
1.2
Version:
$Revision: 1.5 $

Method Summary
 void configurationEvent(ConfigurationEvent event)
          Receives notification of a broadcast ConfigurationEvent object.
 

Method Detail

configurationEvent

public void configurationEvent(ConfigurationEvent event)
Receives notification of a broadcast ConfigurationEvent object.

Parameters:
event - The broadcasted ConfigurationEvent object.

OSGi Service Platform
Release 4

Copyright (c) OSGi Alliance (2000, 2005). All Rights Reserved.