org.mule.config.builders
Class MuleXmlBuilderContextListener
java.lang.Object
org.mule.config.builders.MuleXmlBuilderContextListener
- public class MuleXmlBuilderContextListener
- extends java.lang.Object
MuleXmlBuilderContextListener
is a bootstrap listener used to construct
a MuleManager instance. This listener delegates to the MuleXmlConfigurationBuilder.
The location of the configuration file can be specified in a init parameter called
org.mule.config, the value can be a path on the local file system or on the classpath.
If a config parameter is not specified a default /mule-config.xml will be used.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Ross Mason
- See Also:
MuleXmlConfigurationBuilder
Method Summary |
void |
contextDestroyed(ServletContextEvent event)
|
void |
contextInitialized(ServletContextEvent event)
|
protected UMOManager |
createManager(java.lang.String configResource,
ServletContext context)
Used to actually construct the UMOManager instance |
protected java.lang.String |
getDefaultConfigResource()
If no config location resource is configured on the servlet context, the
value returned from this method will be used to initialise the MuleManager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_INIT_PARAMETER
public static final java.lang.String CONFIG_INIT_PARAMETER
- See Also:
- Constant Field Values
MuleXmlBuilderContextListener
public MuleXmlBuilderContextListener()
contextInitialized
public void contextInitialized(ServletContextEvent event)
createManager
protected UMOManager createManager(java.lang.String configResource,
ServletContext context)
- Used to actually construct the UMOManager instance
- Parameters:
configResource
- the location of the config resource, this can be on the
local file system or on the classpath.
- Returns:
- A configured UMOManager instance
getDefaultConfigResource
protected java.lang.String getDefaultConfigResource()
- If no config location resource is configured on the servlet context, the
value returned from this method will be used to initialise the MuleManager.
- Returns:
- the default config resource location
contextDestroyed
public void contextDestroyed(ServletContextEvent event)
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.