public abstract class InstrumentedFilterContextListener extends Object implements javax.servlet.ServletContextListener
MetricRegistry
instance into the servlet
context. Implement getMetricRegistry()
to return the MetricRegistry
for your
application.Constructor and Description |
---|
InstrumentedFilterContextListener() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
protected abstract MetricRegistry |
getMetricRegistry() |
protected abstract MetricRegistry getMetricRegistry()
MetricRegistry
to inject into the servlet context.public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed
in interface javax.servlet.ServletContextListener
Copyright © 2014. All Rights Reserved.