Package com.day.cq.replication
Interface ConfigManager
public interface ConfigManager
ConfigManager...-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInterface for configuration eventstatic interfaceInterface for configuration event listeners. -
Method Summary
Modifier and TypeMethodDescriptionReturns a map of all agent configuration groups.Returns a map of all agent configurations of all run modes.voidRegisters a listener to receive configuration event changesvoidUnregisters a previously registered listener.
-
Method Details
-
getConfigGroups
Map<String,AgentConfigGroup> getConfigGroups()Returns a map of all agent configuration groups.- Returns:
- a map where the key is the configuration group path
-
getConfigurations
Map<String,AgentConfig> getConfigurations()Returns a map of all agent configurations of all run modes.- Returns:
- a map where the key is the configuration id
-
registerListener
Registers a listener to receive configuration event changes- Parameters:
listener- the listener
-
unregisterListener
Unregisters a previously registered listener.- Parameters:
listener- the listener
-