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

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

public class StringRemapperConfigurationInterceptor
extends TraversingConfigurationInterceptor

re-maps arbitrary string values. handles pure literal Strings, not Regular Expressions


Constructor Summary
StringRemapperConfigurationInterceptor()
           
 
Method Summary
protected  void process(org.apache.avalon.framework.configuration.MutableConfiguration mutableConfiguration)
           
 void setMappings(java.util.Map mappings)
           
 
Methods inherited from class org.apache.james.container.spring.examples.configuration.TraversingConfigurationInterceptor
intercept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringRemapperConfigurationInterceptor

public StringRemapperConfigurationInterceptor()
Method Detail

setMappings

public void setMappings(java.util.Map mappings)
Parameters:
mappings - - Map, key being the string to be replaced, value being the replacement

process

protected void process(org.apache.avalon.framework.configuration.MutableConfiguration mutableConfiguration)
Specified by:
process in class TraversingConfigurationInterceptor


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