org.mule.config.builders
Class DeployableMuleXmlContextListener
java.lang.Object
org.mule.config.builders.DeployableMuleXmlContextListener
- All Implemented Interfaces:
- EventListener, ServletContextListener
public class DeployableMuleXmlContextListener
- extends Object
- implements ServletContextListener
This ServletContextListener should be used instead of
MuleXmlBuilderContextListener
when the webapp is contributing a
configuration to an existing Mule instance configured and started at the server
level rather than embedding a Mule instance in the webapp itself.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final transient Log logger
DeployableMuleXmlContextListener
public DeployableMuleXmlContextListener()
contextInitialized
public void contextInitialized(ServletContextEvent event)
- Specified by:
contextInitialized
in interface ServletContextListener
initialize
public void initialize(ServletContext context)
contextDestroyed
public void contextDestroyed(ServletContextEvent event)
- Specified by:
contextDestroyed
in interface ServletContextListener
setMuleContext
public static void setMuleContext(MuleContext context)
- This method is to be used only by application server or web container
integrations that allow web applications to be hot-deployed.
- Parameters:
context
- the single shared muleContext instance that will be used to
configure mule configurations hot-deployed as web application.
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.