All Known Implementing Classes:
ConfigServiceImpl

public interface ConfigService
  • Method Details

    • getConfig

      Configuration getConfig(String identifier)
    • getConfig

      Configuration getConfig(String identifier, boolean useCache)
    • newConfig

      Configuration newConfig()
    • storeConfig

      void storeConfig(Configuration config, String identifier)
    • clearCache

      void clearCache()
    • clearCache

      void clearCache(String identifier)
    • getConfigFailsafe

      Configuration getConfigFailsafe(String identifier)
    • parseConfigList

      List<String> parseConfigList(Configuration config, String identifier)
    • getConfigAsXml

      String getConfigAsXml(String identifier)
    • getConfigAsXmlFailsafe

      String getConfigAsXmlFailsafe(String identifier)
    • 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:
      FileNotFoundException
      IOException