public class DeployableMuleXmlContextListener extends Object implements javax.servlet.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.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger |
| Constructor and Description |
|---|
DeployableMuleXmlContextListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent event) |
void |
contextInitialized(javax.servlet.ServletContextEvent event) |
void |
initialize(javax.servlet.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.
|
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void initialize(javax.servlet.ServletContext context)
public void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed in interface javax.servlet.ServletContextListenerpublic 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–2015 MuleSoft, Inc.. All rights reserved.