org.apache.james.container.spring.adaptor
Class AvalonConfigurationFileProvider
java.lang.Object
org.apache.james.container.spring.adaptor.AvalonConfigurationFileProvider
- All Implemented Interfaces:
- ConfigurationProvider, org.springframework.context.ResourceLoaderAware
public class AvalonConfigurationFileProvider
- extends java.lang.Object
- implements ConfigurationProvider, org.springframework.context.ResourceLoaderAware
loads the well-known classic avalon/phoenix configuration file
TODO make this thing be based on Resource class and inject resource.getInputStream() into InputSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AvalonConfigurationFileProvider
public AvalonConfigurationFileProvider()
getConfiguration
public org.apache.avalon.framework.configuration.Configuration getConfiguration()
- Specified by:
getConfiguration
in interface ConfigurationProvider
setConfigurationResource
public void setConfigurationResource(java.lang.String configuration)
setConfigurationInterceptors
public void setConfigurationInterceptors(java.util.List configurationInterceptors)
- Specified by:
setConfigurationInterceptors
in interface ConfigurationProvider
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
- Specified by:
setResourceLoader
in interface org.springframework.context.ResourceLoaderAware
Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.