AutoConfigurationBuilder (Mule ESB 2.2.1 API)
Keywords: org.mule.config.builders.AutoConfigurationBuilder class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mule.config.builders
Class AutoConfigurationBuilder

    java.lang.Object
      org.mule.config.builders.AbstractConfigurationBuilder
          org.mule.config.builders.AbstractResourceConfigurationBuilder
              org.mule.config.builders.AutoConfigurationBuilder

All Implemented Interfaces:
  ConfigurationBuilder

    public class AutoConfigurationBuilder

extends AbstractResourceConfigurationBuilder

Configures Mule from a configuration resource or comma seperated list of configuration resources by auto-detecting the ConfigurationBuilder to use for each resource. This is resolved by either checking the classpath for config modules e.g. spring-config or by using the file extention or a combination.

Field Summary
`protected static Log` | `logger`

Fields inherited from class org.mule.config.builders.AbstractResourceConfigurationBuilder
`configResources`

Constructor Summary
`AutoConfigurationBuilder(ConfigResource[] resources)`
`AutoConfigurationBuilder(String resource)`
`AutoConfigurationBuilder(String[] resources)`

Method Summary
`protected void` | `applyLifecycle(LifecycleManager lifecycleManager)`
`protected void` | `autoConfigure(MuleContext muleContext, ConfigResource[] configResources)`
`protected void` | `doConfigure(MuleContext muleContext)`

Methods inherited from class org.mule.config.builders.AbstractResourceConfigurationBuilder
`configure, createConfigResourcesString, loadConfigResources`

Methods inherited from class org.mule.config.builders.AbstractConfigurationBuilder
`isConfigured`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### logger

    protected static final Log logger

Constructor Detail

### AutoConfigurationBuilder

    public AutoConfigurationBuilder(String resource)
                             throws ConfigurationException

Throws:
  `ConfigurationException`

### AutoConfigurationBuilder

    public AutoConfigurationBuilder(String[] resources)
                             throws ConfigurationException

Throws:
  `ConfigurationException`

### AutoConfigurationBuilder

    public AutoConfigurationBuilder(ConfigResource[] resources)

Method Detail

### doConfigure

    protected void doConfigure(MuleContext muleContext)
                        throws ConfigurationException

  Specified by:
    `doConfigure` in class `AbstractConfigurationBuilder`
  Throws:
    `ConfigurationException`

### applyLifecycle

    protected void applyLifecycle(LifecycleManager lifecycleManager)
                           throws Exception

  Specified by:
    `applyLifecycle` in class `AbstractConfigurationBuilder`
  Throws:
    `Exception`

### autoConfigure

    protected void autoConfigure(MuleContext muleContext,
                                 ConfigResource[] configResources)
                          throws ConfigurationException

  Parameters:
    `muleContext` -
  Throws:
    `ConfigurationException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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