public class DeployableMuleXmlContextListener extends Object implements ServletContextListener
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.Constructor and Description |
---|
DeployableMuleXmlContextListener() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(ServletContextEvent event) |
void |
contextInitialized(ServletContextEvent event) |
void |
initialize(ServletContext context) |
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.
|
protected final transient Log logger
public void contextInitialized(ServletContextEvent event)
contextInitialized
in interface ServletContextListener
public void initialize(ServletContext context)
public void contextDestroyed(ServletContextEvent event)
contextDestroyed
in interface ServletContextListener
public static void setMuleContext(MuleContext context)
context
- the single shared muleContext instance that will be used to
configure mule configurations hot-deployed as web application.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.