org.mule.config.builders
Class MuleXmlConfigurationBuilder
java.lang.Object
org.mule.config.builders.AbstractDigesterConfiguration
org.mule.config.builders.MuleXmlConfigurationBuilder
- All Implemented Interfaces:
- org.mule.config.ConfigurationBuilder
- Direct Known Subclasses:
- MuleClasspathConfigurationBuilder, WebappMuleXmlConfigurationBuilder
- public class MuleXmlConfigurationBuilder
- extends AbstractDigesterConfiguration
- implements org.mule.config.ConfigurationBuilder
MuleXmlConfigurationBuilder is a configuration parser that builds a
MuleManager instance based on a mule xml configration file defined in the
mule-configuration.dtd.
|
Method Summary |
protected void |
addAgentRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addCommonEndpointRules(org.apache.commons.digester.Digester digester,
String path,
String method)
|
protected void |
addConnectorRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addEndpointIdentifierRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addEndpointRules(org.apache.commons.digester.Digester digester,
String path,
String method)
|
protected void |
addExceptionStrategyRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addGlobalEndpointRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addGlobalReferenceEndpointRules(org.apache.commons.digester.Digester digester,
String path,
String method)
|
protected void |
addInterceptorStackRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addManagerRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addMessageRouterRules(org.apache.commons.digester.Digester digester,
String path,
String type)
|
protected void |
addModelRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addMuleConfigurationRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addMuleDescriptorRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addObjectCreateOrGetFromContainer(String path,
String defaultImpl,
String classAttrib,
String refAttrib,
boolean classRefRequired)
|
protected void |
addObjectCreateOrGetFromContainer(String path,
String defaultImpl,
String classAttrib,
String refAttrib,
String containerAttrib,
boolean classRefRequired)
|
protected void |
addPoolingProfileRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addQueueProfileRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addReplyToRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addRouterRules(org.apache.commons.digester.Digester digester,
String path,
String type)
|
protected void |
addSecurityManagerRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addSetPropertiesRule(String path,
org.apache.commons.digester.Digester digester)
|
protected void |
addSetPropertiesRule(String path,
org.apache.commons.digester.Digester digester,
String[] s1,
String[] s2)
|
protected void |
addThreadingProfileRules(org.apache.commons.digester.Digester digester,
String path,
String type)
|
protected void |
addTransactionConfigRules(String path,
org.apache.commons.digester.Digester digester)
|
protected void |
addTransactionManagerRules(org.apache.commons.digester.Digester digester,
String path)
|
protected void |
addTransformerRules(org.apache.commons.digester.Digester digester,
String path)
|
org.mule.umo.manager.UMOManager |
configure(org.mule.config.ReaderResource[] configResources)
Deprecated. Please use configure(ReaderResource[] configResources, Properties
startupProperties) instead. |
org.mule.umo.manager.UMOManager |
configure(org.mule.config.ReaderResource[] configResources,
Properties startupProperties)
|
org.mule.umo.manager.UMOManager |
configure(String configResources)
|
org.mule.umo.manager.UMOManager |
configure(String configResources,
String startupPropertiesFile)
|
String |
getRootName()
|
boolean |
isConfigured()
Indicate whether this ConfigurationBulder has been configured yet |
protected void |
setContainerProperties()
|
protected void |
setGlobalEndpoints()
|
protected void |
setTransformers()
|
| Methods inherited from class org.mule.config.builders.AbstractDigesterConfiguration |
addContainerContextRules, addFilterGroupRule, addFilterRules, addLeftFilterRule, addMulePropertiesRule, addMulePropertiesRule, addMulePropertiesRule, addRightFilterRule, addServerPropertiesRules, addSingleFilterRule, loadConfig, process |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static Log logger
- logger used by this class
DEFAULT_ENTRY_POINT_RESOLVER
public static final String DEFAULT_ENTRY_POINT_RESOLVER
DEFAULT_LIFECYCLE_ADAPTER
public static final String DEFAULT_LIFECYCLE_ADAPTER
DEFAULT_ENDPOINT
public static final String DEFAULT_ENDPOINT
DEFAULT_TRANSACTION_CONFIG
public static final String DEFAULT_TRANSACTION_CONFIG
DEFAULT_DESCRIPTOR
public static final String DEFAULT_DESCRIPTOR
DEFAULT_SECURITY_MANAGER
public static final String DEFAULT_SECURITY_MANAGER
DEFAULT_OUTBOUND_MESSAGE_ROUTER
public static final String DEFAULT_OUTBOUND_MESSAGE_ROUTER
DEFAULT_INBOUND_MESSAGE_ROUTER
public static final String DEFAULT_INBOUND_MESSAGE_ROUTER
DEFAULT_RESPONSE_MESSAGE_ROUTER
public static final String DEFAULT_RESPONSE_MESSAGE_ROUTER
DEFAULT_CATCH_ALL_STRATEGY
public static final String DEFAULT_CATCH_ALL_STRATEGY
DEFAULT_POOL_FACTORY
public static final String DEFAULT_POOL_FACTORY
THREADING_PROFILE
public static final String THREADING_PROFILE
POOLING_PROFILE
public static final String POOLING_PROFILE
QUEUE_PROFILE
public static final String QUEUE_PROFILE
PERSISTENCE_STRATEGY_INTERFACE
public static final String PERSISTENCE_STRATEGY_INTERFACE
INBOUND_MESSAGE_ROUTER_INTERFACE
public static final String INBOUND_MESSAGE_ROUTER_INTERFACE
RESPONSE_MESSAGE_ROUTER_INTERFACE
public static final String RESPONSE_MESSAGE_ROUTER_INTERFACE
OUTBOUND_MESSAGE_ROUTER_INTERFACE
public static final String OUTBOUND_MESSAGE_ROUTER_INTERFACE
TRANSFORMER_INTERFACE
public static final String TRANSFORMER_INTERFACE
TRANSACTION_MANAGER_FACTORY_INTERFACE
public static final String TRANSACTION_MANAGER_FACTORY_INTERFACE
SECURITY_PROVIDER_INTERFACE
public static final String SECURITY_PROVIDER_INTERFACE
ENCRYPTION_STRATEGY_INTERFACE
public static final String ENCRYPTION_STRATEGY_INTERFACE
ENDPOINT_SECURITY_FILTER_INTERFACE
public static final String ENDPOINT_SECURITY_FILTER_INTERFACE
AGENT_INTERFACE
public static final String AGENT_INTERFACE
TRANSACTION_FACTORY_INTERFACE
public static final String TRANSACTION_FACTORY_INTERFACE
TRANSACTION_CONSTRAINT_INTERFACE
public static final String TRANSACTION_CONSTRAINT_INTERFACE
CONNECTOR_INTERFACE
public static final String CONNECTOR_INTERFACE
INTERCEPTOR_INTERFACE
public static final String INTERCEPTOR_INTERFACE
ROUTER_INTERFACE
public static final String ROUTER_INTERFACE
EXCEPTION_STRATEGY_INTERFACE
public static final String EXCEPTION_STRATEGY_INTERFACE
CONNECTION_STRATEGY_INTERFACE
public static final String CONNECTION_STRATEGY_INTERFACE
manager
protected org.mule.umo.manager.UMOManager manager
MuleXmlConfigurationBuilder
public MuleXmlConfigurationBuilder()
throws org.mule.config.ConfigurationException
getRootName
public String getRootName()
- Specified by:
getRootName in class AbstractDigesterConfiguration
configure
public org.mule.umo.manager.UMOManager configure(String configResources)
throws org.mule.config.ConfigurationException
- Specified by:
configure in interface org.mule.config.ConfigurationBuilder
- Throws:
org.mule.config.ConfigurationException
configure
public org.mule.umo.manager.UMOManager configure(String configResources,
String startupPropertiesFile)
throws org.mule.config.ConfigurationException
- Specified by:
configure in interface org.mule.config.ConfigurationBuilder
- Throws:
org.mule.config.ConfigurationException
configure
public org.mule.umo.manager.UMOManager configure(org.mule.config.ReaderResource[] configResources)
throws org.mule.config.ConfigurationException
- Deprecated. Please use configure(ReaderResource[] configResources, Properties
startupProperties) instead.
- Specified by:
configure in interface org.mule.config.ConfigurationBuilder
- Throws:
org.mule.config.ConfigurationException
configure
public org.mule.umo.manager.UMOManager configure(org.mule.config.ReaderResource[] configResources,
Properties startupProperties)
throws org.mule.config.ConfigurationException
- Specified by:
configure in interface org.mule.config.ConfigurationBuilder
- Throws:
org.mule.config.ConfigurationException
isConfigured
public boolean isConfigured()
- Indicate whether this ConfigurationBulder has been configured yet
- Specified by:
isConfigured in interface org.mule.config.ConfigurationBuilder
- Returns:
true if this ConfigurationBulder has been configured
setContainerProperties
protected void setContainerProperties()
throws org.mule.umo.manager.ContainerException
- Throws:
org.mule.umo.manager.ContainerException
setTransformers
protected void setTransformers()
throws org.mule.umo.lifecycle.InitialisationException
- Throws:
org.mule.umo.lifecycle.InitialisationException
setGlobalEndpoints
protected void setGlobalEndpoints()
throws org.mule.umo.lifecycle.InitialisationException
- Throws:
org.mule.umo.lifecycle.InitialisationException
addManagerRules
protected void addManagerRules(org.apache.commons.digester.Digester digester,
String path)
addMuleConfigurationRules
protected void addMuleConfigurationRules(org.apache.commons.digester.Digester digester,
String path)
addSecurityManagerRules
protected void addSecurityManagerRules(org.apache.commons.digester.Digester digester,
String path)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addTransformerRules
protected void addTransformerRules(org.apache.commons.digester.Digester digester,
String path)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addGlobalEndpointRules
protected void addGlobalEndpointRules(org.apache.commons.digester.Digester digester,
String path)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addEndpointIdentifierRules
protected void addEndpointIdentifierRules(org.apache.commons.digester.Digester digester,
String path)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addTransactionManagerRules
protected void addTransactionManagerRules(org.apache.commons.digester.Digester digester,
String path)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addAgentRules
protected void addAgentRules(org.apache.commons.digester.Digester digester,
String path)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addConnectorRules
protected void addConnectorRules(org.apache.commons.digester.Digester digester,
String path)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addInterceptorStackRules
protected void addInterceptorStackRules(org.apache.commons.digester.Digester digester,
String path)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addModelRules
protected void addModelRules(org.apache.commons.digester.Digester digester,
String path)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addMuleDescriptorRules
protected void addMuleDescriptorRules(org.apache.commons.digester.Digester digester,
String path)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addThreadingProfileRules
protected void addThreadingProfileRules(org.apache.commons.digester.Digester digester,
String path,
String type)
addPoolingProfileRules
protected void addPoolingProfileRules(org.apache.commons.digester.Digester digester,
String path)
addQueueProfileRules
protected void addQueueProfileRules(org.apache.commons.digester.Digester digester,
String path)
addMessageRouterRules
protected void addMessageRouterRules(org.apache.commons.digester.Digester digester,
String path,
String type)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addRouterRules
protected void addRouterRules(org.apache.commons.digester.Digester digester,
String path,
String type)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addReplyToRules
protected void addReplyToRules(org.apache.commons.digester.Digester digester,
String path)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addEndpointRules
protected void addEndpointRules(org.apache.commons.digester.Digester digester,
String path,
String method)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addGlobalReferenceEndpointRules
protected void addGlobalReferenceEndpointRules(org.apache.commons.digester.Digester digester,
String path,
String method)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addCommonEndpointRules
protected void addCommonEndpointRules(org.apache.commons.digester.Digester digester,
String path,
String method)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addTransactionConfigRules
protected void addTransactionConfigRules(String path,
org.apache.commons.digester.Digester digester)
addExceptionStrategyRules
protected void addExceptionStrategyRules(org.apache.commons.digester.Digester digester,
String path)
throws org.mule.config.ConfigurationException
- Throws:
org.mule.config.ConfigurationException
addSetPropertiesRule
protected void addSetPropertiesRule(String path,
org.apache.commons.digester.Digester digester,
String[] s1,
String[] s2)
- Overrides:
addSetPropertiesRule in class AbstractDigesterConfiguration
addSetPropertiesRule
protected void addSetPropertiesRule(String path,
org.apache.commons.digester.Digester digester)
- Overrides:
addSetPropertiesRule in class AbstractDigesterConfiguration
addObjectCreateOrGetFromContainer
protected void addObjectCreateOrGetFromContainer(String path,
String defaultImpl,
String classAttrib,
String refAttrib,
boolean classRefRequired)
addObjectCreateOrGetFromContainer
protected void addObjectCreateOrGetFromContainer(String path,
String defaultImpl,
String classAttrib,
String refAttrib,
String containerAttrib,
boolean classRefRequired)
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.