org.openejb.util.proxy
Class Jdk13InvocationHandler

java.lang.Object
  extended by org.openejb.util.proxy.Jdk13InvocationHandler
All Implemented Interfaces:
java.io.Serializable, java.lang.reflect.InvocationHandler

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: 1096 $
Author:
Aaron Mulder (ammulder@alumni.princeton.edu)
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
Throws:
java.lang.Throwable


Copyright © 1999-2011 OpenEJB. All Rights Reserved.