- 所有父级接口:
MBeanServer,MBeanServerConnection
此类的一个对象实现了 MBeanServer 接口并包装了另一个也实现了该接口的对象。通常,此接口的实现在将方法转发给包装对象之前和/或之后在 MBeanServer 接口的某些或所有方法中执行某些操作。示例包括安全检查和日志记录。
- 自从:
- 1.5
-
方法总结
修饰符和类型方法描述返回请求将转发到的 MBeanServer 对象。void设置 MBeanServer 对象,在此对象处理后请求将转发到该对象。在接口 javax.management.MBeanServer 中声明的方法
addNotificationListener, addNotificationListener, createMBean, createMBean, createMBean, createMBean, deserialize, deserialize, deserialize, getAttribute, getAttributes, getClassLoader, getClassLoaderFor, getClassLoaderRepository, getDefaultDomain, getDomains, getMBeanCount, getMBeanInfo, getObjectInstance, instantiate, instantiate, instantiate, instantiate, invoke, isInstanceOf, isRegistered, queryMBeans, queryNames, registerMBean, removeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, setAttribute, setAttributes, unregisterMBean
-
方法详情
-
getMBeanServer
MBeanServer getMBeanServer()返回请求将转发到的 MBeanServer 对象。- 返回:
- 请求将转发到的 MBeanServer 对象,如果没有则为 null。
- 参见:
-
setMBeanServer
设置 MBeanServer 对象,在此对象处理后请求将转发到该对象。- 参数:
mbs- 请求将转发到的 MBeanServer 对象。- 抛出:
IllegalArgumentException- 如果此对象已转发到 MBeanServer 对象,或者如果mbs为空,或者如果mbs与此对象相同。- 参见:
-