public class JMXTestHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOGGER |
private static MBeanServer |
platformMBeanServer |
| Constructor and Description |
|---|
JMXTestHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkInApplicationMonitorJMXBeanRegistered() |
static boolean |
checkInApplicationMonitorJMXBeanRegistered(String domain) |
static Long |
getCounterValue(String domain,
String counterName) |
static MBeanInfo |
getInApplicationMonitorMBeanInfo() |
static MBeanInfo |
getTimerMBeanInfo(String timerKey) |
static Long |
getTimerValue(String timerName,
String attribute) |
static Object |
invoke(ObjectName objectName,
Object[] params,
String[] signature,
String operationName) |
private static final org.slf4j.Logger LOGGER
private static final MBeanServer platformMBeanServer
public static boolean checkInApplicationMonitorJMXBeanRegistered()
public static boolean checkInApplicationMonitorJMXBeanRegistered(String domain)
public static MBeanInfo getInApplicationMonitorMBeanInfo()
public static Object invoke(ObjectName objectName, Object[] params, String[] signature, String operationName) throws InstanceNotFoundException, MBeanException, ReflectionException
Copyright © 2014 Immobilien Scout GmbH. All Rights Reserved.