org.mule.config.builders
Class WebappMuleXmlConfigurationBuilder
java.lang.Object
org.mule.config.builders.AbstractDigesterConfiguration
org.mule.config.builders.MuleXmlConfigurationBuilder
org.mule.config.builders.WebappMuleXmlConfigurationBuilder
- All Implemented Interfaces:
- ConfigurationBuilder
- public class WebappMuleXmlConfigurationBuilder
- extends MuleXmlConfigurationBuilder
WebappMuleXmlConfigurationBuilder will first try and load config
resources from the Servlet context. If this fails it fails back to the methods
used by the MuleXmlConfigurationBuilder.
- Version:
- $Revision: 3798 $
- Author:
- Ross Mason
- See Also:
MuleXmlConfigurationBuilder
| Fields inherited from class org.mule.config.builders.MuleXmlConfigurationBuilder |
AGENT_INTERFACE, CONNECTION_STRATEGY_INTERFACE, CONNECTOR_INTERFACE, DEFAULT_CATCH_ALL_STRATEGY, DEFAULT_DESCRIPTOR, DEFAULT_ENDPOINT, DEFAULT_ENTRY_POINT_RESOLVER, DEFAULT_INBOUND_MESSAGE_ROUTER, DEFAULT_LIFECYCLE_ADAPTER, DEFAULT_OUTBOUND_MESSAGE_ROUTER, DEFAULT_POOL_FACTORY, DEFAULT_RESPONSE_MESSAGE_ROUTER, DEFAULT_SECURITY_MANAGER, DEFAULT_TRANSACTION_CONFIG, ENCRYPTION_STRATEGY_INTERFACE, ENDPOINT_SECURITY_FILTER_INTERFACE, EXCEPTION_STRATEGY_INTERFACE, INBOUND_MESSAGE_ROUTER_INTERFACE, INTERCEPTOR_INTERFACE, logger, manager, OUTBOUND_MESSAGE_ROUTER_INTERFACE, PERSISTENCE_STRATEGY_INTERFACE, POOLING_PROFILE, QUEUE_PROFILE, RESPONSE_MESSAGE_ROUTER_INTERFACE, ROUTER_INTERFACE, SECURITY_PROVIDER_INTERFACE, THREADING_PROFILE, TRANSACTION_CONSTRAINT_INTERFACE, TRANSACTION_FACTORY_INTERFACE, TRANSACTION_MANAGER_FACTORY_INTERFACE, TRANSFORMER_INTERFACE |
|
Method Summary |
protected InputStream |
loadConfig(String configResource)
ConfigResource can be a url, a path on the local file system or a resource
name on the classpath Finds and loads the configuration resource by doing the
following - 1. |
| Methods inherited from class org.mule.config.builders.MuleXmlConfigurationBuilder |
addAgentRules, addCommonEndpointRules, addConnectorRules, addEndpointIdentifierRules, addEndpointRules, addExceptionStrategyRules, addGlobalEndpointRules, addGlobalReferenceEndpointRules, addInterceptorStackRules, addManagerRules, addMessageRouterRules, addModelRules, addMuleConfigurationRules, addMuleDescriptorRules, addObjectCreateOrGetFromContainer, addObjectCreateOrGetFromContainer, addPoolingProfileRules, addQueueProfileRules, addReplyToRules, addRouterRules, addSecurityManagerRules, addSetPropertiesRule, addSetPropertiesRule, addThreadingProfileRules, addTransactionConfigRules, addTransactionManagerRules, addTransformerRules, configure, configure, configure, configure, getRootName, isConfigured, setContainerProperties, setGlobalEndpoints, setTransformers |
| Methods inherited from class org.mule.config.builders.AbstractDigesterConfiguration |
addContainerContextRules, addFilterGroupRule, addFilterRules, addLeftFilterRule, addMulePropertiesRule, addMulePropertiesRule, addMulePropertiesRule, addRightFilterRule, addServerPropertiesRules, addSingleFilterRule, process |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebappMuleXmlConfigurationBuilder
public WebappMuleXmlConfigurationBuilder(ServletContext context)
throws ConfigurationException
loadConfig
protected InputStream loadConfig(String configResource)
throws ConfigurationException
- ConfigResource can be a url, a path on the local file system or a resource
name on the classpath Finds and loads the configuration resource by doing the
following - 1. load it from the servelet context /WEB-INF 2. load it form the
classpath 3. load it from from the local file system 4. load it as a url
- Overrides:
loadConfig in class AbstractDigesterConfiguration
- Parameters:
configResource - a single configuration resource
- Returns:
- an inputstream to the resource
- Throws:
ConfigurationException
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.