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.
loadDatanucleusDataConfig¶
-
Properties
loadDatanucleusDataConfig
()¶ Loads the datanucleus configuration for data database
Returns: datanucleus configuration for data database
loadDatanucleusSchemaConfig¶
-
Properties
loadDatanucleusSchemaConfig
()¶ Loads the datanucleus configuration for schema database
Returns: datanucleus configuration for schema database
loadFlywayDataConfig¶
-
Properties
loadFlywayDataConfig
()¶ Loads the Flyway configuration for the data database.
Returns: Flyway configuration for the data database
loadFlywaySchemaConfig¶
-
Properties
loadFlywaySchemaConfig
()¶ Loads the Flyway configuration for the schema database.
Returns: Flyway configuration for the schema database
saveBootstrapConfig¶
-
void
saveBootstrapConfig
(BootstrapConfig bootstrapConfig)¶ Saves the bootstrap configuration
Parameters: - bootstrapConfig – Bootstrap config