org.mule.config.builders
Class MuleClasspathConfigurationBuilder

java.lang.Object
  extended byorg.mule.config.builders.MuleXmlConfigurationBuilder
      extended byorg.mule.config.builders.MuleClasspathConfigurationBuilder
All Implemented Interfaces:
ConfigurationBuilder

public class MuleClasspathConfigurationBuilder
extends MuleXmlConfigurationBuilder

MuleClasspathConfigurationBuilder can be used to configure a MuleManager based on the configuration files on the classpath. the default config resource name is mule-config.xml but this can be overrided by passing the config resourse name to the configure method.

Version:
$Revision: 1.1.1.1 $
Author:
Ross Mason

Field Summary
protected static Log logger
          logger used by this class
static java.lang.String MULE_CONFIGURATION_RESOURCE
           
 
Fields inherited from class org.mule.config.builders.MuleXmlConfigurationBuilder
AGENT_INTERFACE, CONNECTOR_INTERFACE, DEFAULT_CATCH_ALL_STRATEGY, DEFAULT_CONTAINER_CONTEXT, DEFAULT_DESCRIPTOR, DEFAULT_ENDPOINT, DEFAULT_ENTRY_POINT_RESOLVER, DEFAULT_INBOUND_MESSAGE_ROUTER, DEFAULT_LIFECYCLE_ADAPTER, DEFAULT_MODEL, DEFAULT_OUTBOUND_MESSAGE_ROUTER, DEFAULT_POOL_FACTORY, DEFAULT_RESPONSE_MESSAGE_ROUTER, DEFAULT_SECURITY_MANAGER, DEFAULT_TRANSACTION_CONFIG, digester, ENCRYPTION_STRATEGY_INTERFACE, ENDPOINT_SECURITY_FILTER_INTERFACE, EXCEPTION_STRATEGY_INTERFACE, FILTER_INTERFACE, INBOUND_MESSAGE_ROUTER_INTERFACE, INTERCEPTOR_INTERFACE, 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
 
Constructor Summary
MuleClasspathConfigurationBuilder()
           
 
Method Summary
 UMOManager configure(java.lang.String configResources)
          Will configure a UMOManager based on the configuration file(s) provided.
 
Methods inherited from class org.mule.config.builders.MuleXmlConfigurationBuilder
addAgentRules, addCommonEndpointRules, addConnectorRules, addContainerContextRules, addContainerPropertyRule, addEndpointIdentfierRules, addEndpointRules, addExceptionStrategyRules, addFilterGroupRule, addFilterRules, addGlobalEndpointRules, addGlobalReferenceEndpointRules, addInterceptorStackRules, addLeftFilterRule, addMessageRouterRules, addModelRules, addMuleConfigurationRules, addMuleDescriptorRules, addMuleEnvironmentPropertiesRules, addMulePropertiesRule, addPoolingProfileRules, addPropertyFactoryRule, addQueueProfileRules, addRightFilterRule, addRouterRules, addSecurityManagerRules, addSetPropertiesRule, addSetPropertiesRule, addSingleFilterRule, addSystemPropertyRule, addThreadingProfileRules, addTransactionManagerRules, addTransformerRules, configure, isConfigured, loadConfig, setContainerProperties, setGlobalEndpoints, setTransformers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static transient Log logger
logger used by this class


MULE_CONFIGURATION_RESOURCE

public static final java.lang.String MULE_CONFIGURATION_RESOURCE
See Also:
Constant Field Values
Constructor Detail

MuleClasspathConfigurationBuilder

public MuleClasspathConfigurationBuilder()
Method Detail

configure

public UMOManager configure(java.lang.String configResources)
                     throws ConfigurationException
Will configure a UMOManager based on the configuration file(s) provided.

Specified by:
configure in interface ConfigurationBuilder
Overrides:
configure in class MuleXmlConfigurationBuilder
Parameters:
configResources - can be null or a single resource name that will be used to seach the classpath. The default is mule-config.xml
Returns:
A configured UMOManager
Throws:
ConfigurationException - if the configResources param is invalid or the configurations fail to load


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.