Interface ComponentConfigurationPropertiesResolver

All Known Implementing Classes:
ComponentConfigurationPropertiesResolverBaseImpl, ComponentConfigurationPropertiesResolverImpl

public interface ComponentConfigurationPropertiesResolver
This interface allows to resolve component configuration properties. These properties are used to expand variables found in the componentConfiguration.xml. The main motivation for this interface is to allow users to hook up commons-configuration to resolve global parameters easily without coupling this implementation to any external libraries.
Author:
Siegfried Goeschl
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    default file name of the component config property file
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(Properties defaults)
    Resolve custom properties
  • Field Details

    • COMPONENT_CONFIG_PROPERTIES_VALUE

      static final String COMPONENT_CONFIG_PROPERTIES_VALUE
      default file name of the component config property file
      See Also:
  • Method Details

    • resolve

      Properties resolve(Properties defaults) throws Exception
      Resolve custom properties
      Parameters:
      defaults - the default properties
      Returns:
      the custom properties
      Throws:
      Exception - throws an exception if failed to resolve