com.taobao.common.store.util
类 MyMBeanServer

java.lang.Object
  继承者 com.taobao.common.store.util.MyMBeanServer

public final class MyMBeanServer
extends Object

便于注册MBean的工具类 只提供注册MBean,不对外暴露JMXConnectorServer

作者:
dogun (yuexuqiang at gmail.com)

方法摘要
static MyMBeanServer getInstance()
          获得MBeanServer
 void registMBean(Object o, String name)
          注册一个MBean
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

getInstance

public static MyMBeanServer getInstance()
获得MBeanServer

返回:
MyMBeanServer

registMBean

public void registMBean(Object o,
                        String name)
注册一个MBean

参数:
o -
name -


Copyright © 2010–2013. All rights reserved.