JDK动态代理和Cglib动态代理
public class TestCglibProxy {public static void main(String[] args) {CglibProxy proxy = new CglibProxy();BusinessServiceImpl businessService = (BusinessServiceImpl) proxy.getProxy(BusinessServiceImpl.class);businessService.ink_print();}}
?
?
?
?