org.springframework.aop.framework
Interface AopProxy

All Known Implementing Classes:
Cglib2AopProxy, JdkDynamicAopProxy

public interface AopProxy

Author:
Rod Johnson
Version: $Id: AopProxy.java,v 1.16 2003/12/01 15:40:46 johnsonr Exp $

Method Summary
 ObjectgetProxy()
          Creates a new Proxy object for the given object, proxying the given interface.
 ObjectgetProxy(ClassLoader cl)
          Creates a new Proxy object for the given object, proxying the given interface.

Method Detail

getProxy

public Object getProxy()
Creates a new Proxy object for the given object, proxying the given interface. Uses the thread context class loader.

getProxy

public Object getProxy(ClassLoader cl)
Creates a new Proxy object for the given object, proxying the given interface. Uses the given class loader.