org.apache.james.container.spring.examples.configuration
Class TraversingConfigurationInterceptor

java.lang.Object
  extended by org.apache.james.container.spring.examples.configuration.TraversingConfigurationInterceptor
All Implemented Interfaces:
ConfigurationInterceptor
Direct Known Subclasses:
StringRemapperConfigurationInterceptor, UnprivilegedPortConfigurationInterceptor

public abstract class TraversingConfigurationInterceptor
extends java.lang.Object
implements ConfigurationInterceptor

traverses over all configurations in the configuration tree


Constructor Summary
TraversingConfigurationInterceptor()
           
 
Method Summary
 org.apache.avalon.framework.configuration.Configuration intercept(org.apache.avalon.framework.configuration.Configuration configuration)
          gets a configuration, inspects and eventually changes it.
protected abstract  void process(org.apache.avalon.framework.configuration.MutableConfiguration mutableConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraversingConfigurationInterceptor

public TraversingConfigurationInterceptor()
Method Detail

intercept

public org.apache.avalon.framework.configuration.Configuration intercept(org.apache.avalon.framework.configuration.Configuration configuration)
Description copied from interface: ConfigurationInterceptor
gets a configuration, inspects and eventually changes it.

Specified by:
intercept in interface ConfigurationInterceptor
Returns:
changed configuration

process

protected abstract void process(org.apache.avalon.framework.configuration.MutableConfiguration mutableConfiguration)


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.