设计模式(1-2)-动态代理(newProxyInstance)
摘要:上节设计模式(1-1)-代理模式,讲了代理模式的静态代理与动态代理的写法。本节,会从Proxy.newProxyInstance() 这个方法开始讲,上一节文末的那个class文件怎么一步步的来的。 UpanSell proxy = (UpanSell) Proxy.newProxyInstance
阅读全文
posted @ 2021-10-29 20:29
posted @ 2021-10-29 20:29
posted @ 2021-10-28 19:45