org.apache.cxf.jca.cxf.handlers
Class ObjectMethodInvocationHandler
java.lang.Object
org.apache.cxf.jca.cxf.handlers.ObjectMethodInvocationHandler
- All Implemented Interfaces:
- java.lang.reflect.InvocationHandler, CXFInvocationHandler
public class ObjectMethodInvocationHandler
- extends java.lang.Object
Handles invocations for methods defined on java.lang.Object, like hashCode,
toString and equals
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectMethodInvocationHandler
public ObjectMethodInvocationHandler(CXFInvocationHandlerData data)
invoke
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
setNext
public void setNext(CXFInvocationHandler cih)
- Specified by:
setNext
in interface CXFInvocationHandler
getNext
public CXFInvocationHandler getNext()
- Specified by:
getNext
in interface CXFInvocationHandler
getData
public CXFInvocationHandlerData getData()
- Specified by:
getData
in interface CXFInvocationHandler
invokeNext
protected java.lang.Object invokeNext(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
getExceptionToThrow
protected java.lang.Throwable getExceptionToThrow(java.lang.reflect.InvocationTargetException ex,
java.lang.reflect.Method targetMethod)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
Apache CXF