|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmx4j.util.StandardMBeanProxy.Handler
protected abstract static class StandardMBeanProxy.Handler
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)
| Constructor Summary | |
|---|---|
protected |
StandardMBeanProxy.Handler()
|
| Method Summary | |
|---|---|
protected abstract java.lang.Object |
getAttribute(java.lang.String attribute)
Called to invoke getAttribute on a (possibly remote) MBeanServer. |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
|
protected abstract java.lang.Object |
invokeOperation(java.lang.String method,
java.lang.Object[] args,
java.lang.String[] params)
Called to invoke invoke on a (possibly remote) MBeanServer. |
protected abstract void |
setAttribute(Attribute attribute)
Called to invoke setAttribute on a (possibly remote) MBeanServer. |
protected void |
unwrapThrowable(java.lang.Throwable x,
java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected StandardMBeanProxy.Handler()
| Method Detail |
|---|
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwable
protected abstract void setAttribute(Attribute attribute)
throws java.lang.Exception
java.lang.Exception
protected abstract java.lang.Object getAttribute(java.lang.String attribute)
throws java.lang.Exception
java.lang.Exception
protected abstract java.lang.Object invokeOperation(java.lang.String method,
java.lang.Object[] args,
java.lang.String[] params)
throws java.lang.Exception
java.lang.Exception
protected void unwrapThrowable(java.lang.Throwable x,
java.lang.Class[] declared)
throws java.lang.Throwable
declared classes,
ot tries to (recursively) unwrap it and rethrow it.
java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||