CoreConfigurationService¶
-
public interface
CoreConfigurationService
¶ Loads and saves the core configuration required to start the Motech instance.
Methods¶
addConfigLocation¶
evictMotechCoreSettingsCache¶
-
void
evictMotechCoreSettingsCache
()¶ Removes all cached MOTECH settings.
getActiveMqConfig¶
-
Properties
getActiveMqConfig
()¶ Returns the ActiveMq properties.
Returns: activeMq properties.
getConfigLocation¶
-
ConfigLocation
getConfigLocation
()¶ Returns the config location where all the config files are present.
Returns: configLocation.
loadBootstrapConfig¶
-
BootstrapConfig
loadBootstrapConfig
()¶ Loads the bootstrap configuration.
Returns: bootstrap configuration.
loadDatanucleusConfig¶
-
Properties
loadDatanucleusConfig
()¶ Loads the datanucleus configuration
Returns: datanucleus configuration
saveBootstrapConfig¶
-
void
saveBootstrapConfig
(BootstrapConfig bootstrapConfig)¶ Saves the bootstrap configuration
Parameters: - bootstrapConfig – Bootstrap config