org.apache.fulcrum.yaafi.framework.configuration
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
Methods inherited from class org.apache.fulcrum.yaafi.framework.configuration.ComponentConfigurationPropertiesResolverBaseImpl |
addAvalonContext, configure, contextualize, createInputStream, enableLogging, getApplicationRootDir, getConfiguration, getContext, getLocation, getLogger, loadProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentConfigurationPropertiesResolverImpl
public ComponentConfigurationPropertiesResolverImpl()
resolve
public Properties resolve(Properties defaults)
throws Exception
- Description copied from interface:
ComponentConfigurationPropertiesResolver
- Resolve custom properties
- Parameters:
defaults
- the default properties
- Returns:
- the custom properties
- Throws:
Exception
- See Also:
ComponentConfigurationPropertiesResolver.resolve(java.util.Properties)
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.