List of usage examples for org.springframework.aop.framework AopProxy getProxy
Object getProxy(@Nullable ClassLoader classLoader);
From source file:org.springframework.aop.framework.ProxyFactoryBean.java
/** * Return the proxy object to expose.//www . ja va 2s . c o m * <p>The default implementation uses a {@code getProxy} call with * the factory's bean class loader. Can be overridden to specify a * custom class loader. * @param aopProxy the prepared AopProxy instance to get the proxy from * @return the proxy object to expose * @see AopProxy#getProxy(ClassLoader) */ protected Object getProxy(AopProxy aopProxy) { return aopProxy.getProxy(this.proxyClassLoader); }