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.spring
Class SpringConfigurationBuilder

    java.lang.Object
      org.mule.config.builders.AbstractConfigurationBuilder
          org.mule.config.spring.SpringConfigurationBuilder

All Implemented Interfaces:
  ConfigurationBuilder

    public class SpringConfigurationBuilder

extends AbstractConfigurationBuilder

Adds an existing Spring ApplicationContext to Mule's internal collection of Registries.

Field Summary

Fields inherited from class org.mule.config.builders.AbstractConfigurationBuilder
`configured, logger`

Constructor Summary
`SpringConfigurationBuilder(org.springframework.context.ApplicationContext appContext)`
`SpringConfigurationBuilder(org.springframework.context.ConfigurableApplicationContext appContext, org.springframework.context.ApplicationContext parentContext)`

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

### SpringConfigurationBuilder

    public SpringConfigurationBuilder(org.springframework.context.ApplicationContext appContext)

### SpringConfigurationBuilder

    public SpringConfigurationBuilder(org.springframework.context.ConfigurableApplicationContext appContext,
                                      org.springframework.context.ApplicationContext parentContext)

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`

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-2010 MuleSoft, Inc.. All Rights Reserved.