Interface ConfigService
- All Known Implementing Classes:
ConfigServiceImpl
public interface ConfigService
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclearCache(String identifier) extractBasicConfigFilesTo(String folderName) Extracts a copy of the basic configuration files to a given sub-directory of root.ConfigurationConfigurationgetConfigAsXml(String identifier) getConfigAsXmlFailsafe(String identifier) ConfigurationgetConfigFailsafe(String identifier) ConfigurationparseConfigList(Configuration config, String identifier) voidstoreConfig(Configuration config, String identifier)
-
Method Details
-
getConfig
-
getConfig
-
newConfig
Configuration newConfig() -
storeConfig
-
clearCache
void clearCache() -
clearCache
-
getConfigFailsafe
-
parseConfigList
-
getConfigAsXml
-
getConfigAsXmlFailsafe
-
extractBasicConfigFilesTo
FileServerFolder extractBasicConfigFilesTo(String folderName) throws FileNotFoundException, IOException Extracts a copy of the basic configuration files to a given sub-directory of root. If the specified folder is not already present it will be created- Parameters:
folderName- name of the folder in which files should be copied- Returns:
- the folder where the configuration files were copied to
- Throws:
FileNotFoundExceptionIOException
-