Interface AopProxy
public interface AopProxy
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.
- Author:
- Rod Johnson, Juergen Hoeller
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptiongetProxy()Create a new proxy object.getProxy(ClassLoader classLoader) Create a new proxy object.
- 
Method Details- 
getProxyObject getProxy()Create a new proxy object.Uses the AopProxy's default class loader (if necessary for proxy creation): usually, the thread context class loader. - Returns:
- the new proxy object (never null)
- See Also:
 
- 
getProxyCreate a new proxy object.Uses the given class loader (if necessary for proxy creation). nullwill 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'sgetProxy()method.- Parameters:
- classLoader- the class loader to create the proxy with (or- nullfor the low-level proxy facility's default)
- Returns:
- the new proxy object (never null)
 
 
-