org.mule.config.builders
Class DeployableMuleXmlContextListener
java.lang.Object
org.mule.config.builders.DeployableMuleXmlContextListener
- All Implemented Interfaces:
- java.util.EventListener, javax.servlet.ServletContextListener
public class DeployableMuleXmlContextListener
- extends java.lang.Object
- implements javax.servlet.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.
Method Summary |
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. |
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(javax.servlet.ServletContextEvent event)
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
initialize
public void initialize(javax.servlet.ServletContext context)
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed
in interface javax.servlet.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-2010 MuleSoft, Inc.. All Rights Reserved.