org.mule.config.builders
Class AbstractDigesterConfiguration
java.lang.Object
org.mule.config.builders.AbstractDigesterConfiguration
- Direct Known Subclasses:
- MuleXmlConfigurationBuilder
- public abstract class AbstractDigesterConfiguration
- extends Object
A base classs for configuration schemes that use digester to parse the documents.
- Version:
- $Revision: 3798 $
- Author:
- Ross Mason
|
Method Summary |
protected void |
addContainerContextRules(String path,
String setterMethod,
int parentIndex)
|
protected void |
addFilterGroupRule(Digester digester,
String path)
|
protected void |
addFilterRules(Digester digester,
String path)
|
protected void |
addLeftFilterRule(Digester digester,
String path)
|
protected void |
addMulePropertiesRule(String path,
Digester digester)
|
protected void |
addMulePropertiesRule(String path,
Digester digester,
String propertiesSetter)
|
protected void |
addMulePropertiesRule(String path,
Digester digester,
String propertiesSetter,
String parentElement)
|
protected void |
addRightFilterRule(Digester digester,
String path)
|
protected void |
addServerPropertiesRules(String path,
String setterMethod,
int parentIndex)
|
protected void |
addSetPropertiesRule(String path,
Digester digester)
|
protected void |
addSetPropertiesRule(String path,
Digester digester,
String[] s1,
String[] s2)
|
protected void |
addSingleFilterRule(Digester digester,
String path)
|
abstract String |
getRootName()
|
protected InputStream |
loadConfig(String configResource)
Attempt to load a configuration resource from the file system, classpath, or
as a URL, in that order. |
protected Object |
process(ReaderResource[] configResources)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CONTAINER_CONTEXT
public static final String DEFAULT_CONTAINER_CONTEXT
FILTER_INTERFACE
public static final String FILTER_INTERFACE
logger
protected transient Log logger
- logger used by this class
digester
protected Digester digester
containerReferences
protected List containerReferences
configEncoding
protected String configEncoding
AbstractDigesterConfiguration
protected AbstractDigesterConfiguration(boolean validate,
String dtd)
process
protected Object process(ReaderResource[] configResources)
throws ConfigurationException
- Throws:
ConfigurationException
loadConfig
protected InputStream loadConfig(String configResource)
throws ConfigurationException
- Attempt to load a configuration resource from the file system, classpath, or
as a URL, in that order.
- Parameters:
configResource - Mule configuration resources
- Returns:
- an InputStream to the resource
- Throws:
ConfigurationException - if the resource could not be loaded by any
means
getRootName
public abstract String getRootName()
addContainerContextRules
protected void addContainerContextRules(String path,
String setterMethod,
int parentIndex)
throws ConfigurationException
- Throws:
ConfigurationException
addServerPropertiesRules
protected void addServerPropertiesRules(String path,
String setterMethod,
int parentIndex)
addSetPropertiesRule
protected void addSetPropertiesRule(String path,
Digester digester)
addSetPropertiesRule
protected void addSetPropertiesRule(String path,
Digester digester,
String[] s1,
String[] s2)
addMulePropertiesRule
protected void addMulePropertiesRule(String path,
Digester digester)
addMulePropertiesRule
protected void addMulePropertiesRule(String path,
Digester digester,
String propertiesSetter)
addMulePropertiesRule
protected void addMulePropertiesRule(String path,
Digester digester,
String propertiesSetter,
String parentElement)
addFilterRules
protected void addFilterRules(Digester digester,
String path)
throws ConfigurationException
- Throws:
ConfigurationException
addFilterGroupRule
protected void addFilterGroupRule(Digester digester,
String path)
throws ConfigurationException
- Throws:
ConfigurationException
addLeftFilterRule
protected void addLeftFilterRule(Digester digester,
String path)
throws ConfigurationException
- Throws:
ConfigurationException
addRightFilterRule
protected void addRightFilterRule(Digester digester,
String path)
throws ConfigurationException
- Throws:
ConfigurationException
addSingleFilterRule
protected void addSingleFilterRule(Digester digester,
String path)
throws ConfigurationException
- Throws:
ConfigurationException
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.