org.apache.qpid.management.servlet
Class QManLifeCycleManager

java.lang.Object
  extended by org.apache.qpid.management.servlet.QManLifeCycleManager
All Implemented Interfaces:
EventListener, ServletContextListener

public class QManLifeCycleManager
extends Object
implements ServletContextListener

QMan JMX lifecycle manager. Provides lifecycle management of QMan JMX core including startup and shutdown.


Constructor Summary
QManLifeCycleManager()
           
 
Method Summary
 void contextDestroyed(ServletContextEvent event)
          Sutdown QMan JMX Core.
 void contextInitialized(ServletContextEvent event)
          Starts QMan JMX Core.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QManLifeCycleManager

public QManLifeCycleManager()
Method Detail

contextInitialized

public void contextInitialized(ServletContextEvent event)
Starts QMan JMX Core.

Specified by:
contextInitialized in interface ServletContextListener
Parameters:
event - the application context event.

contextDestroyed

public void contextDestroyed(ServletContextEvent event)
Sutdown QMan JMX Core.

Specified by:
contextDestroyed in interface ServletContextListener
Parameters:
event - the application context event.


Licensed to the Apache Software Foundation