public class MBeans extends Object
register(String, String, Object)
构造器和说明 |
---|
MBeans() |
限定符和类型 | 方法和说明 |
---|---|
static ObjectName |
register(String serviceName,
String nameName,
Object theMbean)
Register the MBean using our standard MBeanName format
"hadoop:service=
|
static void |
unregister(ObjectName mbeanName) |
public static ObjectName register(String serviceName, String nameName, Object theMbean)
serviceName
- nameName
- theMbean
- - the MBean to registerpublic static void unregister(ObjectName mbeanName)
Copyright © 2009 The Apache Software Foundation