org.apache.cxf.jca.cxf.handlers
Class ProxyInvocationHandler

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

public class ProxyInvocationHandler
extends java.lang.Object

The object returned to the application implement close and equals for the proxy


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

ProxyInvocationHandler

public ProxyInvocationHandler(CXFInvocationHandlerData data)
Method Detail

invoke

public final 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