public class MonitorLauncher extends Object implements javax.servlet.ServletContextListener
MonitorRegistries
into the servlet context.Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_CTX_PARAMETER_NAME
The name of the servlet context parameter that specifies the
configuration file location.
|
protected com.codahale.metrics.graphite.GraphiteReporter |
graphiteReporter
The Graphite reporter.
|
protected com.codahale.metrics.jmx.JmxReporter |
jmxReporter
The JMX reporter.
|
Constructor and Description |
---|
MonitorLauncher() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
public static final String CONFIG_CTX_PARAMETER_NAME
protected com.codahale.metrics.jmx.JmxReporter jmxReporter
protected com.codahale.metrics.graphite.GraphiteReporter graphiteReporter
public MonitorLauncher()
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 © 2020 Connect2id. All rights reserved.