@InterfaceAudience.Private public class MBeanUtil extends Object
Constructor and Description |
---|
MBeanUtil() |
Modifier and Type | Method and Description |
---|---|
static ObjectName |
registerMBean(String serviceName,
String nameName,
Object theMbean)
Register the MBean using our standard MBeanName format
"hadoop:service=
|
static void |
unregisterMBean(ObjectName mbeanName) |
public static ObjectName registerMBean(String serviceName, String nameName, Object theMbean)
serviceName
- nameName
- theMbean
- - the MBean to registerpublic static void unregisterMBean(ObjectName mbeanName)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.