Package org.osgi.service.cm
Interface ConfigurationListener
-
- All Known Subinterfaces:
SynchronousConfigurationListener
@ConsumerType public interface ConfigurationListener
Listener for Configuration Events. When aConfigurationEventis fired, it is asynchronously delivered to allConfigurationListeners.ConfigurationListenerobjects are registered with the Framework service registry and are notified with aConfigurationEventobject when an event is fired.ConfigurationListenerobjects can inspect the receivedConfigurationEventobject to determine its type, the pid of theConfigurationobject 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 aConfigurationListenerservice.- Since:
- 1.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigurationEvent(ConfigurationEvent event)Receives notification of a Configuration that has changed.
-
-
-
Method Detail
-
configurationEvent
void configurationEvent(ConfigurationEvent event)
Receives notification of a Configuration that has changed.- Parameters:
event- TheConfigurationEvent.
-
-