Interface ConfigurationResolver

  • All Known Implementing Classes:
    ConfigurationResolverImpl

    public interface ConfigurationResolver
    Provides access to configuration files taking into account the active environment
    Since:
    3.1.6
    Author:
    joseross
    • Method Detail

      • getXmlConfiguration

        org.apache.commons.configuration2.HierarchicalConfiguration<?> getXmlConfiguration​(String module,
                                                                                           String path,
                                                                                           ConfigurationProvider provider)
                                                                                    throws ConfigurationException
        Get the content of a given configuration file
        Parameters:
        module - the name of the module
        path - the path of the file
        provider - the provider to read the file
        Returns:
        the configuration instance
        Throws:
        ConfigurationException - if there is any error reading the configuration