静态代理和动态代理

1.静态代理

  UserDao(接口)

  UserDaoImpl(实现类)

  LogProxy(代理类)

  

main方法

2.动态代理

 

原文地址:https://www.cnblogs.com/da-peng/p/5922113.html