net.sf.cglib.proxy

Class Proxy

Implemented Interfaces:
Serializable

public class Proxy
extends java.lang.Object
implements Serializable

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

Version:
$Id: Proxy.java,v 1.6 2004/06/24 21:15:19 herbyderby Exp $

Method Summary

static InvocationHandler
getInvocationHandler(Object proxy)
static Class
getProxyClass(ClassLoader loader, Class[] interfaces)
static boolean
isProxyClass(Class cl)
static Object
newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler h)

Method Details

getInvocationHandler

public static InvocationHandler getInvocationHandler(Object proxy)

getProxyClass

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

isProxyClass

public static boolean isProxyClass(Class cl)

newProxyInstance

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

Copyright (c) 2001 - Apache Software Foundation