getProxy

java.lang.Object getProxy(java.lang.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.

Parameters:

classLoader - the class loader to create the proxy with
(or null for the low-level proxy facility's default)