2021年10月14日
摘要: 动态代理 代理模式: 使用一个代理将对象包装起来,然后使用这个代理对象取代原始对象,任何对原始对象的操作都要通过代理,代理对象·决定是否以及何时将方法调用转到原始对象上。 public class ProxyTest { public static void main(String[] args){ 阅读全文
posted @ 2021-10-14 18:16 gyp666 阅读(35) 评论(0) 推荐(0)