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
是该对象相同的
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.