org.mule.config.spring
Class SpringXmlConfigurationBuilder
java.lang.Object
org.mule.config.builders.AbstractConfigurationBuilder
org.mule.config.builders.AbstractResourceConfigurationBuilder
org.mule.config.spring.SpringXmlConfigurationBuilder
- All Implemented Interfaces:
- ConfigurationBuilder, DomainMuleContextAwareConfigurationBuilder
- Direct Known Subclasses:
- SpringXmlDomainConfigurationBuilder
public class SpringXmlConfigurationBuilder
- extends AbstractResourceConfigurationBuilder
- implements DomainMuleContextAwareConfigurationBuilder
SpringXmlConfigurationBuilder enables Mule to be configured from a
Spring XML Configuration file used with Mule name-spaces. Multiple configuration
files can be loaded from this builder (specified as a comma-separated list).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MULE_DEFAULTS_CONFIG
public static final String MULE_DEFAULTS_CONFIG
- See Also:
- Constant Field Values
MULE_SPRING_CONFIG
public static final String MULE_SPRING_CONFIG
- See Also:
- Constant Field Values
MULE_MINIMAL_SPRING_CONFIG
public static final String MULE_MINIMAL_SPRING_CONFIG
- See Also:
- Constant Field Values
MULE_REGISTRY_BOOTSTRAP_SPRING_CONFIG
public static final String MULE_REGISTRY_BOOTSTRAP_SPRING_CONFIG
- See Also:
- Constant Field Values
MULE_DOMAIN_REGISTRY_BOOTSTRAP_SPRING_CONFIG
public static final String MULE_DOMAIN_REGISTRY_BOOTSTRAP_SPRING_CONFIG
- See Also:
- Constant Field Values
useDefaultConfigResource
protected boolean useDefaultConfigResource
- Prepend "default-mule-config.xml" to the list of config resources.
useMinimalConfigResource
protected boolean useMinimalConfigResource
registry
protected Registry registry
domainContext
protected org.springframework.context.ApplicationContext domainContext
parentContext
protected org.springframework.context.ApplicationContext parentContext
applicationContext
protected org.springframework.context.ApplicationContext applicationContext
SpringXmlConfigurationBuilder
public SpringXmlConfigurationBuilder(String[] configResources)
throws ConfigurationException
- Throws:
ConfigurationException
SpringXmlConfigurationBuilder
public SpringXmlConfigurationBuilder(String configResources)
throws ConfigurationException
- Throws:
ConfigurationException
SpringXmlConfigurationBuilder
public SpringXmlConfigurationBuilder(ConfigResource[] configResources)
doConfigure
protected void doConfigure(MuleContext muleContext)
throws Exception
- Specified by:
doConfigure in class AbstractConfigurationBuilder
- Throws:
Exception
unconfigure
public void unconfigure(MuleContext muleContext)
createApplicationContext
protected org.springframework.context.ApplicationContext createApplicationContext(MuleContext muleContext,
ConfigResource[] configResources)
throws Exception
- Throws:
Exception
createSpringRegistry
protected void createSpringRegistry(MuleContext muleContext,
org.springframework.context.ApplicationContext applicationContext)
throws Exception
- Throws:
Exception
applyLifecycle
protected void applyLifecycle(LifecycleManager lifecycleManager)
throws Exception
- Overrides:
applyLifecycle in class AbstractConfigurationBuilder
- Throws:
Exception
isUseDefaultConfigResource
public boolean isUseDefaultConfigResource()
setUseDefaultConfigResource
public void setUseDefaultConfigResource(boolean useDefaultConfigResource)
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
setUseMinimalConfigResource
public void setUseMinimalConfigResource(boolean useMinimalConfigResource)
getParentContext
protected org.springframework.context.ApplicationContext getParentContext()
setParentContext
public void setParentContext(org.springframework.context.ApplicationContext parentContext)
setDomainContext
public void setDomainContext(MuleContext domainContext)
- Specified by:
setDomainContext in interface DomainMuleContextAwareConfigurationBuilder
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.