Package org.forgerock.am.config
Interface ListenableConfig
-
- All Known Subinterfaces:
IotServiceConfig
,ServiceComponentConfig
public interface ListenableConfig
Annotated configuration classes implementing this interface will be able to have listeners registered to be invoked on configuration changes.ListenableConfig config = ... config.watch() .onGlobalChange(() -> { ... }) .listen();
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Listener
watch()
Creates aListener
instance to register a function to invoke when a configuration change is detected.
-