org.openejb.util.proxy.jdk13
Class Jdk13InvocationHandler

java.lang.Object
  |
  +--org.openejb.util.proxy.jdk13.Jdk13InvocationHandler
All Implemented Interfaces:
java.lang.reflect.InvocationHandler, java.io.Serializable

public class Jdk13InvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler, java.io.Serializable

Implementation of JDK 1.3 InvocationHandler for JDK 1.3 Proxies. This only compiles on JDK 1.3 or better. This is the interface between the OpenEJB InvocationHandler and the JDK 1.3 proxy. It allows the OpenEJB InvocationHandler to be null or changed after proxy instantiation, which is not normally allowed for JDK 1.3 proxies.

Version:
$Revision: 1.2 $
See Also:
Serialized Form

Constructor Summary
Jdk13InvocationHandler()
           
Jdk13InvocationHandler(InvocationHandler delegate)
           
 
Method Summary
 InvocationHandler getInvocationHandler()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 InvocationHandler setInvocationHandler(InvocationHandler handler)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jdk13InvocationHandler

public Jdk13InvocationHandler()

Jdk13InvocationHandler

public Jdk13InvocationHandler(InvocationHandler delegate)
Method Detail

getInvocationHandler

public InvocationHandler getInvocationHandler()

setInvocationHandler

public InvocationHandler setInvocationHandler(InvocationHandler handler)

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler