摘要: 1、基于接口的实现,要jdk动态代理的类必须要实现一个接口; 2、中介类:实现了InvocationHandler,并重写这个接口的 方法(public Object invoke(Object proxy, Method method, Object[] args) throws Throwabl 阅读全文
posted @ 2019-08-20 17:20 小An 阅读(199) 评论(0) 推荐(0)