|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.config.builders.MuleXmlBuilderContextListener
public class MuleXmlBuilderContextListener
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.
Field Summary | |
---|---|
static String |
INIT_PARAMETER_MULE_CONFIG
One or more Mule config files. |
static String |
INIT_PARAMETER_WEBAPP_CLASSPATH
Classpath within the servlet context (e.g., "WEB-INF/classes"). |
Constructor Summary | |
---|---|
MuleXmlBuilderContextListener()
|
Method Summary | |
---|---|
void |
contextDestroyed(ServletContextEvent event)
|
void |
contextInitialized(ServletContextEvent event)
|
protected UMOManager |
createManager(String configResource,
String webappClasspath,
ServletContext context)
Used to actually construct the UMOManager instance |
void |
destroy()
|
protected 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. |
void |
initialize(ServletContext context)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String INIT_PARAMETER_MULE_CONFIG
public static final String INIT_PARAMETER_WEBAPP_CLASSPATH
Constructor Detail |
---|
public MuleXmlBuilderContextListener()
Method Detail |
---|
public void contextInitialized(ServletContextEvent event)
contextInitialized
in interface ServletContextListener
public void initialize(ServletContext context)
protected UMOManager createManager(String configResource, String webappClasspath, ServletContext context) throws ConfigurationException
configResource
- the location of the config resource, this can be on the
local file system or on the classpath.
ConfigurationException
protected String getDefaultConfigResource()
public void contextDestroyed(ServletContextEvent event)
contextDestroyed
in interface ServletContextListener
public void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |