public class MBeanUtil extends Object
| Constructor and Description |
|---|
MBeanUtil() |
| Modifier and Type | Method and Description |
|---|---|
static MBeanAttributeInfo |
boolAttrInfo(String name,
String desc) |
static Object |
getAttribute(String name,
String attribute) |
static Object |
getMBean(Class c,
String name)
Create a proxy to the given mbean
|
static Object |
invoke(String serviceName,
String operationName,
Object[] params,
String[] signature) |
static MBeanAttributeInfo |
stringAttrInfo(String name,
String desc) |
public static Object getMBean(Class c, String name) throws Throwable
c - name - Throwablepublic static Object invoke(String serviceName, String operationName, Object[] params, String[] signature) throws Throwable
Throwablepublic static Object getAttribute(String name, String attribute) throws Throwable
name - attribute - Throwablepublic static MBeanAttributeInfo stringAttrInfo(String name, String desc)
name - desc - public static MBeanAttributeInfo boolAttrInfo(String name, String desc)
name - desc - Copyright © 2017 Bedework. All rights reserved.