|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AopProxy
Strategy interface for a configured proxy, allowing for creation of proxy objects.
Out-of-the-box implementations are available for dynamic proxies and for CGLIB.
Method Summary | |
---|---|
Object |
getProxy()
Create a new proxy object. |
Object |
getProxy(ClassLoader classLoader)
Create a new proxy object. |
Method Detail |
---|
Object getProxy()
Uses the AopProxy's default class loader (if necessary for proxy creation): usually, the thread context class loader.
Thread.getContextClassLoader()
Object getProxy(ClassLoader classLoader)
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.
classLoader
- the class loader to create the proxy with
(or null
for the low-level proxy facility's default)
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |