摘要:
package com.java.exec2; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Objects; /** * Created by zhangyanana on 20... 阅读全文
摘要:
package com.java.exec2; /** * Created by zhangyanana on 2017/3/16. */ //静态代理模式 //接口 interface ClothFactory { void productCloth(); } //被代理类 class NikeClothFactory implements ClothFactory { ... 阅读全文