本文共 1120 字,大约阅读时间需要 3 分钟。
Intent
Provide a surrogate or placeholder for another object to control access to it.
How to
Proxymaintains a reference that lets the proxy access the real subjectprovides an interface identical to Subject's Subjectdefines the common interface for RealSubject and Proxy RealSubjectdefines the real object that the proxy represents Known casedelay initializationasyn callremote proxy (RMI)security validationcache
UML
样例代码
转载地址:http://frfmd.baihongyu.com/