org.mule.config.builders
Class DefaultsConfigurationBuilder

java.lang.Object
  extended by org.mule.config.builders.AbstractConfigurationBuilder
      extended by org.mule.config.builders.DefaultsConfigurationBuilder
All Implemented Interfaces:
ConfigurationBuilder

public class DefaultsConfigurationBuilder
extends AbstractConfigurationBuilder

Configures defaults required by Mule. This configuration builder is used to configure mule with these defaults when no other ConfigurationBuilder that sets these is being used. This is used by both AbstractMuleTestCase and MuleClient.

Default instances of the following are configured:


Field Summary
 
Fields inherited from class org.mule.config.builders.AbstractConfigurationBuilder
configured, logger
 
Constructor Summary
DefaultsConfigurationBuilder()
           
 
Method Summary
protected  void configureQueueManager(MuleContext muleContext)
           
protected  void configureSystemModel(MuleRegistry registry)
           
protected  void configureThreadingProfiles(MuleRegistry registry)
           
protected  void doConfigure(MuleContext muleContext)
          Will configure a MuleContext based on the configuration provided.
 
Methods inherited from class org.mule.config.builders.AbstractConfigurationBuilder
applyLifecycle, configure, isConfigured
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultsConfigurationBuilder

public DefaultsConfigurationBuilder()
Method Detail

doConfigure

protected void doConfigure(MuleContext muleContext)
                    throws Exception
Description copied from class: AbstractConfigurationBuilder
Will configure a MuleContext based on the configuration provided. The configuration will be set on the ConfigurationBuilder implementation as bean properties before this method has been called.

Specified by:
doConfigure in class AbstractConfigurationBuilder
Parameters:
muleContext - The current MuleContext
Throws:
ConfigurationException - if the configuration fails i.e. an object cannot be created or initialised properly
Exception

configureQueueManager

protected void configureQueueManager(MuleContext muleContext)
                              throws RegistrationException
Throws:
RegistrationException

configureThreadingProfiles

protected void configureThreadingProfiles(MuleRegistry registry)
                                   throws RegistrationException
Throws:
RegistrationException

configureSystemModel

protected void configureSystemModel(MuleRegistry registry)
                             throws MuleException
Throws:
MuleException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.