public class ConfigurationServletContextListener extends Object implements javax.servlet.ServletContextListener
| Modifier and Type | Field and Description |
|---|---|
static String |
JMX_COLLECTOR_CONFIG_FILE |
| Constructor and Description |
|---|
ConfigurationServletContextListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
protected String |
getJmxCollectorConfigFile(javax.servlet.ServletContextEvent sce) |
protected io.prometheus.jmx.JmxCollector |
initializeJmxCollector(javax.servlet.ServletContextEvent sce) |
public static final String JMX_COLLECTOR_CONFIG_FILE
public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized in interface javax.servlet.ServletContextListenerprotected String getJmxCollectorConfigFile(javax.servlet.ServletContextEvent sce)
protected io.prometheus.jmx.JmxCollector initializeJmxCollector(javax.servlet.ServletContextEvent sce)
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed in interface javax.servlet.ServletContextListenerCopyright © 2021. All rights reserved.