org.mule.config.builders
Class WebappMuleXmlConfigurationBuilder

java.lang.Object
  extended byorg.mule.config.builders.AbstractDigesterConfiguration
      extended byorg.mule.config.builders.MuleXmlConfigurationBuilder
          extended byorg.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.


Nested Class Summary
 
Nested classes inherited from class org.mule.config.builders.MuleXmlConfigurationBuilder
MuleXmlConfigurationBuilder.ExtendedMuleSetPropertiesRule
 
Field Summary
 
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_ROUTER_COLLECTION, DEFAULT_LIFECYCLE_ADAPTER, DEFAULT_NESTED_ROUTER, DEFAULT_NESTED_ROUTER_COLLECTION, DEFAULT_OUTBOUND_ROUTER_COLLECTION, DEFAULT_POOL_FACTORY, DEFAULT_RESPONSE_ROUTER_COLLECTION, DEFAULT_SECURITY_MANAGER, DEFAULT_TRANSACTION_CONFIG, ENCRYPTION_STRATEGY_INTERFACE, ENDPOINT_SECURITY_FILTER_INTERFACE, EXCEPTION_STRATEGY_INTERFACE, INBOUND_MESSAGE_ROUTER_INTERFACE, INTERCEPTOR_INTERFACE, manager, NESTED_MESSAGE_ROUTER_INTERFACE, 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
 
Fields inherited from class org.mule.config.builders.AbstractDigesterConfiguration
configEncoding, containerReferences, DEFAULT_CONTAINER_CONTEXT, digester, FILTER_INTERFACE, logger
 
Constructor Summary
WebappMuleXmlConfigurationBuilder(ServletContext context, String webappClasspath)
           
 
Method Summary
protected  InputStream loadResource(String resource)
          Attempt to load any resource from the Servlet Context first, then from the classpath.
 
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
 

Constructor Detail

WebappMuleXmlConfigurationBuilder

public WebappMuleXmlConfigurationBuilder(ServletContext context,
                                         String webappClasspath)
                                  throws ConfigurationException
Method Detail

loadResource

protected InputStream loadResource(String resource)
                            throws ConfigurationException
Attempt to load any resource from the Servlet Context first, then from the classpath.

Overrides:
loadResource in class MuleXmlConfigurationBuilder
Throws:
ConfigurationException


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