public class MBeanHelper extends Object
| Constructor and Description |
|---|
MBeanHelper() |
| Modifier and Type | Method and Description |
|---|---|
static MBeanServer |
getMBeanServer()
Return the MBean Server instance.
|
static ObjectInstance |
register(Object mbean,
String name)
Register a given managed bean (MBean) with the specified name.
|
static void |
unregister(ObjectName objectName)
Remove the registration of a mbean.
|
public static final MBeanServer getMBeanServer()
public static ObjectInstance register(Object mbean, String name)
mbean - the managed bean to registername - the name under which to register the beanpublic static void unregister(ObjectName objectName)
objectName - the name of the bean to unregisterCopyright © 2018 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.