net.sf.cglib
Class Proxy

java.lang.Object
  extended bynet.sf.cglib.Proxy
All Implemented Interfaces:
java.io.Serializable

public class Proxy
extends java.lang.Object
implements java.io.Serializable

This class is meant to be used as a implementation of java.lang.reflect.Proxy under JDK 1.2. There are some known subtle differences:

Version:
$Id: Proxy.java,v 1.14 2003/09/14 17:44:22 herbyderby Exp $
See Also:
Serialized Form

Constructor Summary
protected Proxy(InvocationHandler h)
           
 
Method Summary
static InvocationHandler getInvocationHandler(java.lang.Object proxy)
           
static java.lang.Class getProxyClass(java.lang.ClassLoader loader, java.lang.Class[] interfaces)
           
static boolean isProxyClass(java.lang.Class cl)
           
static java.lang.Object newProxyInstance(java.lang.ClassLoader loader, java.lang.Class[] interfaces, InvocationHandler h)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Proxy

protected Proxy(InvocationHandler h)
Method Detail

getInvocationHandler

public static InvocationHandler getInvocationHandler(java.lang.Object proxy)

getProxyClass

public static java.lang.Class getProxyClass(java.lang.ClassLoader loader,
                                            java.lang.Class[] interfaces)

isProxyClass

public static boolean isProxyClass(java.lang.Class cl)

newProxyInstance

public static java.lang.Object newProxyInstance(java.lang.ClassLoader loader,
                                                java.lang.Class[] interfaces,
                                                InvocationHandler h)


Copyright © 2002-2003 cglib. All Rights Reserved.