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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpringConfigurationBuilder
public SpringConfigurationBuilder(org.springframework.context.ApplicationContext appContext)
SpringConfigurationBuilder
public SpringConfigurationBuilder(org.springframework.context.ConfigurableApplicationContext appContext,
org.springframework.context.ApplicationContext parentContext)
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
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.