http://fruitking.iteye.com/blog/601106
jdk的动态代理是
Proxy.newProxyInstance(carService.getClass().getClassLoader(), new Class[]{CarService.class}, proxy)
会根据接口类CarService生成字节码并通过classLoader加载生成以个代理对象,这个代理对象会把实际的实现CarService接口的对象proxy包装起来,达到可以在执行方法前后执行额外的行为
http://www.cnblogs.com/frankliiu-java/articles/1896443.html
CGliB代理要学学
http://fruitking.iteye.com/blog/601106
jdk的动态代理是
会根据接口类CarService生成字节码并通过classLoader加载生成以个代理对象,这个代理对象会把实际的实现CarService接口的对象proxy包装起来,达到可以在执行方法前后执行额外的行为
http://www.cnblogs.com/frankliiu-java/articles/1896443.html
CGliB代理要学学