Class ComponentConfigurationPropertiesResolverImpl
java.lang.Object
org.apache.fulcrum.yaafi.framework.configuration.ComponentConfigurationPropertiesResolverBaseImpl
org.apache.fulcrum.yaafi.framework.configuration.ComponentConfigurationPropertiesResolverImpl
- All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable
,org.apache.avalon.framework.context.Contextualizable
,org.apache.avalon.framework.logger.LogEnabled
,ComponentConfigurationPropertiesResolver
public class ComponentConfigurationPropertiesResolverImpl
extends ComponentConfigurationPropertiesResolverBaseImpl
A implementation to provide out-of-the-box component configuration properties
using the following algorithm:
- add the user-supplied defaults to the result
- add the system properties to the result
- add the Merlin context entries to the result
- Author:
- Siegfried Goeschl
-
Field Summary
Fields inherited from interface org.apache.fulcrum.yaafi.framework.configuration.ComponentConfigurationPropertiesResolver
COMPONENT_CONFIG_PROPERTIES_VALUE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.fulcrum.yaafi.framework.configuration.ComponentConfigurationPropertiesResolverBaseImpl
addAvalonContext, configure, contextualize, createInputStream, enableLogging, getApplicationRootDir, getConfiguration, getContext, getLocation, getLogger, loadProperties
-
Constructor Details
-
ComponentConfigurationPropertiesResolverImpl
public ComponentConfigurationPropertiesResolverImpl()
-
-
Method Details
-
resolve
Description copied from interface:ComponentConfigurationPropertiesResolver
Resolve custom properties- Parameters:
defaults
- the default properties- Returns:
- the custom properties
- Throws:
Exception
- throws an exception if failed to resolve- See Also:
-