1.美图
2.概述
CGLIB动态代理参考: CGLIB动态代理
CGLIB原理解析参考:CGLIB原理解析
3.分析
Spring AOP CGLIB动态代理调用过程分析,CGLIB
动态代理调用过程相对来讲比较简单,打开DynamicAdvisedInterceptor
类的intercept
方法:
/**
* General purpose AOP callback. Used when the target is dynamic or when the
* proxy is not frozen.
*/
private static class DynamicAdvisedInterceptor