Apache CXF API

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

java.lang.Object
  extended by 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
ObjectMethodInvocationHandler(CXFInvocationHandlerData data)
           
 
Method Summary
 CXFInvocationHandlerData getData()
           
protected  Throwable getExceptionToThrow(InvocationTargetException ex, Method targetMethod)
           
 CXFInvocationHandler getNext()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
protected  Object invokeNext(Object proxy, Method method, 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 Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Throws:
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 Object invokeNext(Object proxy,
                            Method method,
                            Object[] args)
                     throws Throwable
Throws:
Throwable

getExceptionToThrow

protected Throwable getExceptionToThrow(InvocationTargetException ex,
                                        Method targetMethod)
                                 throws Throwable
Throws:
Throwable

Apache CXF API

Apache CXF