ConfigLoader

public class ConfigLoader

Config loader used to load the platform core settings.

Methods

findExistingConfigs

public List<File> findExistingConfigs()

Finds all configs from the config location

Throws:
  • IOException – If there is any error while handling the files.

loadDefaultConfig

public SettingsRecord loadDefaultConfig()

loadMotechSettings

public SettingsRecord loadMotechSettings()

setCoreConfigurationService

public void setCoreConfigurationService(CoreConfigurationService coreConfigurationService)

setEventAdmin

public void setEventAdmin(EventAdmin eventAdmin)

setResourceLoader

public void setResourceLoader(ResourceLoader resourceLoader)