mx4j.util
Class StandardMBeanProxy.Handler
java.lang.Object
mx4j.util.StandardMBeanProxy.Handler
- StandardMBeanProxy
- InvocationHandler
protected static abstract class StandardMBeanProxy.Handler
extends java.lang.Object
implements InvocationHandler
Base class for MBeanServer invocation handlers.
It handles the translation of method invocation
from the definition of reflection (java.lang.reflect.Method) to
the definition of JMX (method name + signature)
protected Object | getAttribute(String attribute) - Called to invoke getAttribute on a (possibly remote) MBeanServer.
|
Object | invoke(Object proxy, Method method, Object[] args)
|
protected Object | invokeOperation(String method, Object[] args, String[] params) - Called to invoke invoke on a (possibly remote) MBeanServer.
|
protected void | setAttribute(javax.management.Attribute attribute) - Called to invoke setAttribute on a (possibly remote) MBeanServer.
|
protected void | unwrapThrowable(Throwable x, Class[] declared) - Rethrows as is the given throwable, if it is an instance of one of the given
declared classes,
ot tries to (recursively) unwrap it and rethrow it.
|
Handler
protected Handler()
getAttribute
protected Object getAttribute(String attribute)
throws Exception
Called to invoke getAttribute on a (possibly remote) MBeanServer.
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
invokeOperation
protected Object invokeOperation(String method,
Object[] args,
String[] params)
throws Exception
Called to invoke invoke on a (possibly remote) MBeanServer.
setAttribute
protected void setAttribute(javax.management.Attribute attribute)
throws Exception
Called to invoke setAttribute on a (possibly remote) MBeanServer.
unwrapThrowable
protected void unwrapThrowable(Throwable x,
Class[] declared)
throws Throwable
Rethrows as is the given throwable, if it is an instance of one of the given declared
classes,
ot tries to (recursively) unwrap it and rethrow it.
Copyright © 2001-2003 MX4J Team. All Rights Reserved.