org.openejb.util.proxy.jdk12
Class Jdk12InvocationHandler

java.lang.Object
  |
  +--org.openejb.util.proxy.jdk12.Jdk12InvocationHandler
All Implemented Interfaces:
org.opentools.proxies.InvocationHandler, java.io.Serializable

public class Jdk12InvocationHandler
extends java.lang.Object
implements org.opentools.proxies.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
Jdk12InvocationHandler()
           
Jdk12InvocationHandler(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

Jdk12InvocationHandler

public Jdk12InvocationHandler()

Jdk12InvocationHandler

public Jdk12InvocationHandler(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 org.opentools.proxies.InvocationHandler