Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » aop » framework » [javadoc | source]
org.springframework.aop.framework
public interface: AopProxy [javadoc | source]

All Known Implementing Classes:
    JdkDynamicAopProxy, ProxyFactory, Cglib2AopProxy

Delegate interface for a configured AOP proxy, allowing for the creation of actual proxy objects.

Out-of-the-box implementations are available for JDK dynamic proxies and for CGLIB proxies, as applied by DefaultAopProxyFactory .

Method from org.springframework.aop.framework.AopProxy Summary:
getProxy,   getProxy
Method from org.springframework.aop.framework.AopProxy Detail:
 public Object getProxy()
    Create a new proxy object.

    Uses the AopProxy's default class loader (if necessary for proxy creation): usually, the thread context class loader.

 public Object getProxy(ClassLoader classLoader)
    Create a new proxy object.

    Uses the given class loader (if necessary for proxy creation). null will simply be passed down and thus lead to the low-level proxy facility's default, which is usually different from the default chosen by the AopProxy implementation's #getProxy() method.