org.mule.config.builders
Class DeployableMuleXmlContextListener

java.lang.Object
  extended by 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.


Field Summary
protected  Log logger
           
 
Constructor Summary
DeployableMuleXmlContextListener()
           
 
Method Summary
 void contextDestroyed(ServletContextEvent event)
           
 void contextInitialized(ServletContextEvent event)
           
protected  MuleContext getMuleContext(ServletContext servletContext)
           
 void initialize(ServletContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final transient Log logger
Constructor Detail

DeployableMuleXmlContextListener

public DeployableMuleXmlContextListener()
Method Detail

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

getMuleContext

protected MuleContext getMuleContext(ServletContext servletContext)


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.