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:

  • SimpleRegistryBootstrap
  • QueueManager
  • SecurityManager
  • DefaultEndpointFactory
  • Model systemModel
  • ThreadingProfile defaultThreadingProfile
  • ThreadingProfile defaultMessageDispatcherThreadingProfile
  • ThreadingProfile defaultMessageRequesterThreadingProfile
  • ThreadingProfile defaultMessageReceiverThreadingProfile
  • ThreadingProfile defaultComponentThreadingProfile


    Field Summary
     
    Fields inherited from class org.mule.config.builders.AbstractConfigurationBuilder
    configured, logger
     
    Constructor Summary
    DefaultsConfigurationBuilder()
               
     
    Method Summary
    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 java.lang.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
    java.lang.Exception


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