Package org.actioncontroller.config
The ConfigObserver configuration framework monitors
a set of configuration files for changes and calls ConfigListeners
with initial value and for each subsequent value.
This can be used to change configuration on the fly, such as restarting a server when the configured server port is updated or replacing a connection pool when the datasource connection configuration is changed.
-
Interface Summary Interface Description ConfigListener Listener interface.ConfigListener.Transformer<T> ConfigValueListener<T> Listener interface.ConfigValueTransformer<FROM,TO> FileListener -
Class Summary Class Description ConfigDirectoryLoader Given aConfigDirectoryLoader.configDirectory, applicationName and profiles, monitors the files<applicationName>.propertiesand<applicationName>-<profile>.propertiesfor each profile in theConfigDirectoryLoader.configDirectory.ConfigMap Extracts config values from an inner map or environment variables in a hierarchical fashion.ConfigObserver Used to monitor a set of configuration files and notifyConfigListeners on initialization and change.FileScanner FileSystemWatcher PrefixConfigListener<T> -
Exception Summary Exception Description ConfigException