org.apache.cxf.jca.cxf.handlers
Class ObjectMethodInvocationHandler

java.lang.Object
  extended by 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


Constructor Summary
ObjectMethodInvocationHandler(CXFInvocationHandlerData data)
           
 
Method Summary
 CXFInvocationHandlerData getData()
           
protected  java.lang.Throwable getExceptionToThrow(java.lang.reflect.InvocationTargetException ex, java.lang.reflect.Method targetMethod)
           
 CXFInvocationHandler getNext()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
protected  java.lang.Object invokeNext(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 void setNext(CXFInvocationHandler cih)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectMethodInvocationHandler

public ObjectMethodInvocationHandler(CXFInvocationHandlerData data)
Method Detail

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