Classpath resources should be in the webapp classpath and should not start
with '/'.
- See Also:
SpringXmlConfigurationBuilder
Field Summary |
protected Log |
logger
Logger used by this class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final transient Log logger
- Logger used by this class
WebappMuleXmlConfigurationBuilder
public WebappMuleXmlConfigurationBuilder(ServletContext servletContext,
String configResources)
throws ConfigurationException
- Throws:
ConfigurationException
WebappMuleXmlConfigurationBuilder
public WebappMuleXmlConfigurationBuilder(ServletContext servletContext,
String[] configResources)
throws ConfigurationException
- Throws:
ConfigurationException
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.
- Overrides:
doConfigure
in class SpringXmlConfigurationBuilder
- Parameters:
muleContext
- The current MuleContext
- Throws:
ConfigurationException
- if the configuration fails i.e. an object cannot be created or
initialised properly
Exception
loadConfigResources
protected ConfigResource[] loadConfigResources(String[] configs)
throws ConfigurationException
- Overrides:
loadConfigResources
in class AbstractResourceConfigurationBuilder
- Throws:
ConfigurationException
createApplicationContext
protected org.springframework.context.ApplicationContext createApplicationContext(MuleContext muleContext,
ConfigResource[] configResources)
- Overrides:
createApplicationContext
in class SpringXmlConfigurationBuilder
loadParentContext
protected org.springframework.context.ApplicationContext loadParentContext(ServletContext servletContext)
throws org.springframework.beans.BeansException
- Used to lookup parent spring ApplicationContext. This allows a parent spring
ApplicatonContet to be provided in the same way you would configure a parent
ApplicationContext for a spring WebAppplicationContext
- Parameters:
servletContext
-
- Throws:
org.springframework.beans.BeansException
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.