Package org.apache.unomi.api.services
Interface ConfigSharingService
-
- All Known Implementing Classes:
ConfigSharingServiceImpl
public interface ConfigSharingService
A service to share configuration properties with other bundles. It also support listeners that will be called whenever a property is added/updated/removed. Simply register a service with the @link ConfigSharingServiceConfigChangeListener interface and it will be automatically picked up.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ConfigSharingService.ConfigChangeEvent
static interface
ConfigSharingService.ConfigChangeListener
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getProperty(String name)
Set<String>
getPropertyNames()
boolean
hasProperty(String name)
Object
removeProperty(String name)
Object
setProperty(String name, Object value)
-