org.apache.cxf.jca.cxf.handlers
Class InvokingInvocationHandler

java.lang.Object
  extended by org.apache.cxf.jca.cxf.handlers.InvokingInvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler, CXFInvocationHandler

public class InvokingInvocationHandler
extends java.lang.Object

delegates invocations to the target object


Constructor Summary
InvokingInvocationHandler(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

InvokingInvocationHandler

public InvokingInvocationHandler(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