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
|
useDefaultConfigResource, useMinimalConfigResourceartifactConfigResourcesconfigured, serviceConfigurators| 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) |
Map<String,String> |
getArtifactProperties() |
protected ConfigResource[] |
loadConfigResources(String[] configs) |
protected org.springframework.context.ApplicationContext |
loadParentContext(javax.servlet.ServletContext servletContext)
Used to lookup parent spring ApplicationContext.
|
protected ConfigResource[] |
resolveArtifactConfigResources() |
protected Optional<org.mule.runtime.api.component.ConfigurationProperties> |
resolveParentConfigurationProperties() |
addResources, applyLifecycle, createArtifactContext, createConfigurationBuilder, getParentContext, setParentContext, setParentContext, setUseDefaultConfigResource, setUseMinimalConfigResource, unconfigureconfigure, createConfigResourcesStringaddServiceConfigurator, isConfiguredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddServiceConfigurator, configure, 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 ConfigResource[] resolveArtifactConfigResources()
resolveArtifactConfigResources in class SpringXmlConfigurationBuilderprotected Optional<org.mule.runtime.api.component.ConfigurationProperties> resolveParentConfigurationProperties()
resolveParentConfigurationProperties in class SpringXmlConfigurationBuilderpublic Map<String,String> getArtifactProperties()
getArtifactProperties in class AbstractResourceConfigurationBuilderprotected 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.