Package org.apache.cxf.jca.cxf.handlers
Class ObjectMethodInvocationHandler
- java.lang.Object
-
- org.apache.cxf.jca.cxf.handlers.ObjectMethodInvocationHandler
-
- All Implemented Interfaces:
InvocationHandler,CXFInvocationHandler
public class ObjectMethodInvocationHandler extends Object
Handles invocations for methods defined on java.lang.Object, like hashCode, toString and equals
-
-
Constructor Summary
Constructors Constructor Description ObjectMethodInvocationHandler(CXFInvocationHandlerData data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CXFInvocationHandlerDatagetData()protected ThrowablegetExceptionToThrow(InvocationTargetException ex, Method targetMethod)CXFInvocationHandlergetNext()Objectinvoke(Object proxy, Method method, Object[] args)protected ObjectinvokeNext(Object proxy, Method method, Object[] args)voidsetNext(CXFInvocationHandler cih)
-
-
-
Constructor Detail
-
ObjectMethodInvocationHandler
public ObjectMethodInvocationHandler(CXFInvocationHandlerData data)
-
-
Method Detail
-
invoke
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
- Throws:
Throwable
-
setNext
public void setNext(CXFInvocationHandler cih)
- Specified by:
setNextin interfaceCXFInvocationHandler
-
getNext
public CXFInvocationHandler getNext()
- Specified by:
getNextin interfaceCXFInvocationHandler
-
getData
public CXFInvocationHandlerData getData()
- Specified by:
getDatain interfaceCXFInvocationHandler
-
invokeNext
protected Object invokeNext(Object proxy, Method method, Object[] args) throws Throwable
- Throws:
Throwable
-
getExceptionToThrow
protected Throwable getExceptionToThrow(InvocationTargetException ex, Method targetMethod) throws Throwable
- Throws:
Throwable
-
-