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.slf4j.Logger |
logger
Logger used by this class
|
domainContext, muleArtifactContext, parentContext, registry, useDefaultConfigResource, useMinimalConfigResourceartifactConfigResourcesconfigured| 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 MuleArtifactContext |
doCreateApplicationContext(MuleContext muleContext,
ConfigResource[] artifactConfigResources,
org.mule.runtime.api.app.declaration.ArtifactDeclaration artifactDeclaration,
OptionalObjectsController optionalObjectsController) |
protected ConfigResource[] |
loadConfigResources(String[] configs) |
protected org.springframework.context.ApplicationContext |
loadParentContext(javax.servlet.ServletContext servletContext)
Used to lookup parent spring ApplicationContext.
|
addResources, addServiceConfigurator, applyLifecycle, createSpringRegistry, getMuleArtifactContext, getParentContext, setParentContext, setParentContext, setUseDefaultConfigResource, setUseMinimalConfigResource, unconfigureconfigure, createConfigResourcesString, getArtifactPropertiesisConfiguredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, isConfiguredpublic 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 MuleArtifactContext doCreateApplicationContext(MuleContext muleContext, ConfigResource[] artifactConfigResources, org.mule.runtime.api.app.declaration.ArtifactDeclaration artifactDeclaration, 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–2017 MuleSoft, Inc.. All rights reserved.