Java 动态代理 分为两种
JDK动态代理
1.proxy
2.实现invocationhandler

CGLIB代理
1.Enhancer
2.实现MethodInterceptor

posted on 2017-02-08 09:42  路过的二师兄  阅读(131)  评论(0编辑  收藏  举报