public class WebContextJmxAppMon4JNamingStrategy extends java.lang.Object implements JmxAppMon4JNamingStrategy, org.springframework.web.context.ServletContextAware
InApplicationMonitorJMXConnector.
This should be used for webApps, cause multiple webApps create multiple instances of the InApplicationMonitorJMXConnector and override eachother.InApplicationMonitorJMXConnector| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
prefix |
| Constructor and Description |
|---|
WebContextJmxAppMon4JNamingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getJmxPrefix() |
void |
setServletContext(javax.servlet.ServletContext servletContext) |
public java.lang.String getJmxPrefix()
getJmxPrefix in interface JmxAppMon4JNamingStrategyServletContext.getContext(String) methodJmxAppMon4JNamingStrategy.getJmxPrefix()public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext in interface org.springframework.web.context.ServletContextAwareservletContext - the servlet contextServletContextAware.setServletContext(ServletContext)Copyright © 2018 Immobilien Scout GmbH. All Rights Reserved.