public class WebappMuleXmlConfigurationBuilder extends SpringXmlConfigurationBuilder
WebappMuleXmlConfigurationBuilder will first try and load config
resources using the ServletContext and if this fails then it will attempt to load
config resource from the classpath.
SpringXmlConfigurationBuilder| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger
Logger used by this class
|
applicationContext, domainContext, MULE_DEFAULTS_CONFIG, MULE_DOMAIN_REGISTRY_BOOTSTRAP_SPRING_CONFIG, MULE_MINIMAL_SPRING_CONFIG, MULE_REGISTRY_BOOTSTRAP_SPRING_CONFIG, MULE_SPRING_CONFIG, parentContext, registry, useDefaultConfigResource, useMinimalConfigResourceconfigResourcesconfigured| Constructor and Description |
|---|
WebappMuleXmlConfigurationBuilder(javax.servlet.ServletContext servletContext,
String configResources) |
WebappMuleXmlConfigurationBuilder(javax.servlet.ServletContext servletContext,
String[] configResources) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doConfigure(MuleContext muleContext) |
protected org.springframework.context.ApplicationContext |
doCreateApplicationContext(MuleContext muleContext,
ConfigResource[] configResources,
OptionalObjectsController optionalObjectsController) |
protected ConfigResource[] |
loadConfigResources(String[] configs) |
protected org.springframework.context.ApplicationContext |
loadParentContext(javax.servlet.ServletContext servletContext)
Used to lookup parent spring ApplicationContext.
|
addResources, applyLifecycle, createSpringRegistry, getApplicationContext, getParentContext, isUseDefaultConfigResource, setDomainContext, setParentContext, setUseDefaultConfigResource, setUseMinimalConfigResource, unconfigureconfigure, createConfigResourcesStringisConfiguredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, isConfiguredprotected final transient org.apache.commons.logging.Log logger
public WebappMuleXmlConfigurationBuilder(javax.servlet.ServletContext servletContext,
String configResources)
throws ConfigurationException
ConfigurationExceptionpublic WebappMuleXmlConfigurationBuilder(javax.servlet.ServletContext servletContext,
String[] configResources)
throws ConfigurationException
ConfigurationExceptionprotected void doConfigure(MuleContext muleContext) throws Exception
doConfigure in class SpringXmlConfigurationBuilderExceptionprotected ConfigResource[] loadConfigResources(String[] configs) throws ConfigurationException
loadConfigResources in class AbstractResourceConfigurationBuilderConfigurationExceptionprotected org.springframework.context.ApplicationContext doCreateApplicationContext(MuleContext muleContext, ConfigResource[] configResources, OptionalObjectsController optionalObjectsController)
doCreateApplicationContext in class SpringXmlConfigurationBuilderprotected org.springframework.context.ApplicationContext loadParentContext(javax.servlet.ServletContext servletContext)
throws org.springframework.beans.BeansException
servletContext - org.springframework.beans.BeansExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.