org.apache.fulcrum.yaafi.framework.configuration
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
static java.lang.String COMPONENT_CONFIG_PROPERTIES_VALUE
          default file name of the component config property file
 
Method Summary
 java.util.Properties resolve(java.util.Properties defaults)
          Resolve custom properties
 

Field Detail

COMPONENT_CONFIG_PROPERTIES_VALUE

static final java.lang.String COMPONENT_CONFIG_PROPERTIES_VALUE
default file name of the component config property file

See Also:
Constant Field Values
Method Detail

resolve

java.util.Properties resolve(java.util.Properties defaults)
                             throws java.lang.Exception
Resolve custom properties

Parameters:
defaults - the default properties
Returns:
the custom properties
Throws:
java.lang.Exception


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.