public interface MBeanServerForwarder extends MBeanServer
此类的一个对象实现MBeanServer接口并包装另一个也实现该接口的对象。 通常,在将方法转发到包装对象之前和/或之后,此接口的实现在MBeanServer
接口的某些或所有方法中执行某些操作。 示例包括安全检查和日志记录。
Modifier and Type | Method and Description |
---|---|
MBeanServer |
getMBeanServer()
返回要转发到的MBeanServer对象。
|
void |
setMBeanServer(MBeanServer mbs)
设置此对象处理后请求将转发到的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
MBeanServer getMBeanServer()
setMBeanServer(javax.management.MBeanServer)
void setMBeanServer(MBeanServer mbs)
mbs
- 请求将转发到的MBeanServer对象。
IllegalArgumentException
-如果该对象已被转发到MBeanServer对象,或者如果
mbs
为null,或者
mbs
等同于该对象。
getMBeanServer()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.