EventListener
, javax.servlet.ServletContextListener
public class MonitorLauncher extends Object implements javax.servlet.ServletContextListener
MonitorRegistries
into the servlet context.Modifier and Type | Field | 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.JmxReporter |
jmxReporter |
The JMX reporter.
|
Constructor | Description |
---|---|
MonitorLauncher() |
Modifier and Type | Method | 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.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 © 2018 Connect2id. All rights reserved.