摘要:
public class TestCglibProxy { public static void main(String[] args) { UserService userService = new UserServiceImpl(); CglibProxy cglibProxy = new CglibProxy(); Enha... 阅读全文
摘要:
public class TestJdkProxy { public static void main(String[] args) { UserService userService = new UserServiceImpl(); JdkProxy jdkProxy = new JdkProxy(userService); Us... 阅读全文