Out-of-the-box implementations are available for JDK dynamic proxies
and for CGLIB proxies, as applied by DefaultAopProxyFactory.
DefaultAopProxyFactory
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public Object | Returns: the new proxy object (nevernull)the class loader to create the proxy with
(or classLoader)null for the low-level proxy facility's default)Create a new proxy object. |
| public Class | Returns: the proxy classthe class loader to create the proxy class with
(or classLoader)null for the low-level proxy facility's default)Determine the proxy class. |
| getProxy | back to summary |
|---|---|
| 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.
| |
| getProxy | back to summary |
|---|---|
| public Object getProxy(ClassLoader classLoader) Create a new proxy object. Uses the given class loader (if necessary for proxy creation).
| |
| getProxyClass | back to summary |
|---|---|
| public Class Determine the proxy class.
| |