Classpath resources should be in the webapp classpath and should not start
with '/'.
- See Also:
org.mule.config.builders.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
loadConfigResources
protected ConfigResource[] loadConfigResources(String[] configs)
throws ConfigurationException
- Overrides:
loadConfigResources
in class AbstractResourceConfigurationBuilder
- Throws:
ConfigurationException
createSpringParentRegistry
protected void createSpringParentRegistry(MuleContext muleContext,
Registry registry,
ConfigResource[] all)
- Description copied from class:
SpringXmlConfigurationBuilder
- Creates a Spring ApplicationContext from the configuration resources provided
and sets it as the parent Registry. This releationshio is setup with the
MuleApplicationContext constructor to ensure that the Registry can be used
during the initialization phase of Spring.
- Overrides:
createSpringParentRegistry
in class SpringXmlConfigurationBuilder
- See Also:
MuleApplicationContext#setupParentSpringRegistry(Registry registry
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
-
- Returns:
-
- Throws:
org.springframework.beans.BeansException
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.