Class TerminationServletContextListener

java.lang.Object
kieker.monitoring.core.servlet.TerminationServletContextListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class TerminationServletContextListener
extends java.lang.Object
implements javax.servlet.ServletContextListener
Use this listener in webapps where ShutdownHook is not called.
Since:
1.3
  • Constructor Summary

    Constructors 
    Constructor Description
    TerminationServletContextListener()
    Creates a new instance of this class using the singleton instance of the MonitoringController as a controller.
    TerminationServletContextListener​(IStateController ctrl)
    Create a new instance utilizing an external state controller.
  • Method Summary

    Modifier and Type Method Description
    void contextDestroyed​(javax.servlet.ServletContextEvent evt)
    void contextInitialized​(javax.servlet.ServletContextEvent evt)

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • contextDestroyed

      public void contextDestroyed​(javax.servlet.ServletContextEvent evt)
      Specified by:
      contextDestroyed in interface javax.servlet.ServletContextListener
    • contextInitialized

      public void contextInitialized​(javax.servlet.ServletContextEvent evt)
      Specified by:
      contextInitialized in interface javax.servlet.ServletContextListener