com.yammer.metrics.reporting
Class MetricsServletContextListener

java.lang.Object
  extended by com.yammer.metrics.reporting.MetricsServletContextListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class MetricsServletContextListener
extends Object
implements javax.servlet.ServletContextListener

A servlet context listener which shuts down the various thread pools when the context is destroyed.


Constructor Summary
MetricsServletContextListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent sce)
           
 void contextInitialized(javax.servlet.ServletContextEvent sce)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsServletContextListener

public MetricsServletContextListener()
Method Detail

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent sce)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

contextInitialized

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


Copyright © 2012. All Rights Reserved.