|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.jmx.core.DynamicMBeanProxy
public class DynamicMBeanProxy
This class implements the DynamicMBean interface
against an MBeanServerConnection and ObjectName
by translating DynamicMBean method calls into appropriate MBeanServerConnection
method calls using the appropriate ObjectName.
Unlike proxy objects produced by MBeanServerInvocationHandler
instances of this class do not require knowledge of any interfaces the originating
MBean implements. As a result, instances of this class do not implement such
interfaces, however, with the exception of NotificationBroadcaster
and NotificationEmitter where appropriate. Also,
instances of this class are themselves MBeans whereas those produced by
MBeanServerInvocationHandler are just proxies for a given interface of the
target object.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
static DynamicMBeanProxy |
newDynamicMBeanProxy(MBeanServerConnection connection,
ObjectName objectName)
This static factory ensures that instances produced implement NotificationBroadcaster
and NotificationEmitter interfaces where appropriate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DynamicMBeanProxy newDynamicMBeanProxy(MBeanServerConnection connection,
ObjectName objectName)
NotificationBroadcaster
and NotificationEmitter interfaces where appropriate. This is necessary for proper
operation of notification listener registration, etc.
This factory simply creates instances of DynamicBroadcasterProxy
and DynamicEmitterProxy in these cases (respectively).
Supported API: true
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||