org.mule.config.builders
Class PlaceholderProcessor

java.lang.Object
  extended byorg.mule.config.builders.PlaceholderProcessor

public class PlaceholderProcessor
extends Object

Placeholders are ant-like tags that are embedded in Mule Xml configuration i.e. ${property.name} and are used to swap in property values registered with the Mule container instance when the configuration is loaded. This is a helper class used for parsing these tags.


Field Summary
static String DEFAULT_ENCRYPTION_PROPERTIES_FILE
           
protected static Log logger
          logger used by this class
static String MULE_ENCRYPTION_PROPERTIES
           
 
Constructor Summary
PlaceholderProcessor()
           
PlaceholderProcessor(Map types)
           
 
Method Summary
 UMOEncryptionStrategy getEncryptionStrategy(String scheme)
           
 Attributes processAttributes(Attributes attributes, String elementName)
           
protected  String processEncryptedValue(String value)
           
 String processValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MULE_ENCRYPTION_PROPERTIES

public static final String MULE_ENCRYPTION_PROPERTIES
See Also:
Constant Field Values

DEFAULT_ENCRYPTION_PROPERTIES_FILE

public static final String DEFAULT_ENCRYPTION_PROPERTIES_FILE
See Also:
Constant Field Values

logger

protected static final Log logger
logger used by this class

Constructor Detail

PlaceholderProcessor

public PlaceholderProcessor()

PlaceholderProcessor

public PlaceholderProcessor(Map types)
Method Detail

processAttributes

public Attributes processAttributes(Attributes attributes,
                                    String elementName)
                             throws ConfigurationException
Throws:
ConfigurationException

processValue

public String processValue(String value)
                    throws ConfigurationException
Throws:
ConfigurationException

processEncryptedValue

protected String processEncryptedValue(String value)
                                throws ConfigurationException
Throws:
ConfigurationException

getEncryptionStrategy

public UMOEncryptionStrategy getEncryptionStrategy(String scheme)
                                            throws Exception
Throws:
Exception


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.