public class MonitoringUtils extends Object
Constructor and Description |
---|
MonitoringUtils() |
Modifier and Type | Method and Description |
---|---|
static Object |
loadJmxObject(String jmxObjectClassname,
Object constructorParam)
Load JMX object class and create an instance using constructor with
constructorParam.getClass() parameter.
|
static Object |
loadJmxObject(String jmxObjectClassname,
Object constructorParam,
Class contructorParamType)
Load JMX object class and create an instance using constructor with
contructorParamType parameter.
|
public static Object loadJmxObject(String jmxObjectClassname, Object constructorParam)
jmxObjectClassname
- the JMX object class name.constructorParam
- the parameter to be passed to the constructor.public static Object loadJmxObject(String jmxObjectClassname, Object constructorParam, Class contructorParamType)
jmxObjectClassname
- the JMX object class name.constructorParam
- the parameter to be passed to the constructor.contructorParamType
- the constructor parameter type, used to find
appropriate constructor.Copyright © 2014 Oracle Corporation. All rights reserved.