The Configuration Manager reads and watches the configuration files for all modules. When a module's configuration file is changed, the Configuration Manager pushes the updated configuration to the relevant module. Configuration files for all modules can be changed during runtime without restart of Moria, but changes in the base configuration (that is, the Configuration Manager's config file) requires a full restart of Moria.
All file paths can be given as a full path or relative to the location of the base configuration file.
Example Configuration Manager configuration file:
# Number of seconds between polling the various configuration files (below). no.feide.moria.configuration.fileListenerIntervalSeconds=1 # Path to the store manager's configuration file. no.feide.moria.configuration.sm=/full/path/sm.properties # Path to the directory manager's configuration file. no.feide.moria.configuration.dm=/full/path/dm.properties # Path to the authorization manager's configuration file. no.feide.moria.configuration.am=../relative/path/am.xml # Path to the web module's configuration file. no.feide.moria.configuration.web=../relative/path/web.properties