信息隐藏:结构良好的对象有简单的接口,并且不向外界显漏任何内部机制。
Information hiding: Well-structured objects have simple interfaces and do not reveal any of their internal mechanisms to the outside world.
代理有很多用处,比如包装遗留系统、调整库的接口、管理实际对象的副本等。
Proxies have many applications, such as wrapping legacy systems, adapting interfaces to libraries, and managing copies of the real object.
有许多不同的方法和服务可用来找到满足接口请求的对象。
There are many different methods and services available to locate objects that will satisfy the request to an interface.
应用推荐