org.apache.james.container.spring.adaptor
Class AvalonConfigurationFileProvider

java.lang.Object
  extended by 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


Constructor Summary
AvalonConfigurationFileProvider()
           
 
Method Summary
 org.apache.avalon.framework.configuration.Configuration getConfiguration()
           
 void setConfigurationInterceptors(java.util.List configurationInterceptors)
           
 void setConfigurationResource(java.lang.String configuration)
           
 void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvalonConfigurationFileProvider

public AvalonConfigurationFileProvider()
Method Detail

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.