public interface ConfigurationService extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
<T> T |
getProperty(String key,
Function<String,T> transformer)
Get single property from configuration service.
|
AutoCloseable |
registerListener(ConfigurationListener listener)
Register listener for configuration changes.
|
void |
update(Map<String,String> properties)
Update map of properties.
|
close
void update(@Nonnull Map<String,String> properties)
properties
- properties@Nonnull AutoCloseable registerListener(@Nonnull ConfigurationListener listener)
listener
- the listenerCopyright © 2018 OpenDaylight. All rights reserved.