public abstract class ComponentConfigurationPropertiesResolverBaseImpl extends Object implements ComponentConfigurationPropertiesResolver, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.configuration.Configurable
COMPONENT_CONFIG_PROPERTIES_VALUE| Constructor and Description |
|---|
ComponentConfigurationPropertiesResolverBaseImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAvalonContext(Properties properties)
Add the Avalon context variables.
|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration) |
void |
contextualize(org.apache.avalon.framework.context.Context context) |
protected InputStream |
createInputStream(String location)
Creates an InputStream using a Locator.
|
void |
enableLogging(org.apache.avalon.framework.logger.Logger logger) |
protected File |
getApplicationRootDir() |
protected org.apache.avalon.framework.configuration.Configuration |
getConfiguration() |
protected org.apache.avalon.framework.context.Context |
getContext() |
protected String |
getLocation() |
protected org.apache.avalon.framework.logger.Logger |
getLogger() |
protected Properties |
loadProperties(String fileLocation)
Set properties from a file location
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolvepublic ComponentConfigurationPropertiesResolverBaseImpl()
public void enableLogging(org.apache.avalon.framework.logger.Logger logger)
enableLogging in interface org.apache.avalon.framework.logger.LogEnabledlogger - the logger instanceLogEnabled.enableLogging(org.apache.avalon.framework.logger.Logger)public void contextualize(org.apache.avalon.framework.context.Context context) throws org.apache.avalon.framework.context.ContextException
contextualize in interface org.apache.avalon.framework.context.Contextualizablecontext - the Context to addorg.apache.avalon.framework.context.ContextExceptionContextualizable.contextualize(org.apache.avalon.framework.context.Context)public void configure(org.apache.avalon.framework.configuration.Configuration configuration) throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableconfiguration - the configuration object to useorg.apache.avalon.framework.configuration.ConfigurationExceptionConfigurable.configure(org.apache.avalon.framework.configuration.Configuration)protected org.apache.avalon.framework.logger.Logger getLogger()
protected org.apache.avalon.framework.context.Context getContext()
protected File getApplicationRootDir()
protected org.apache.avalon.framework.configuration.Configuration getConfiguration()
protected String getLocation()
protected InputStream createInputStream(String location) throws IOException
location - the location of the fileIOException - if file not foundprotected void addAvalonContext(Properties properties) throws org.apache.avalon.framework.context.ContextException
properties - properties to be setorg.apache.avalon.framework.context.ContextException - if context not foundprotected Properties loadProperties(String fileLocation) throws Exception
fileLocation - file location of properties properties to be setException - if unable to parse the properties fileCopyright © 2004–1970 The Apache Software Foundation. All rights reserved.