Proxy pattern: Difference between revisions

Content deleted Content added
Tags: Mobile edit Mobile web edit
Line 21:
* implements additional functionality to control the access to this subject.
 
This enablesmakes it possible to work through a <code>Proxy</code> object to perform additional functionality when accessing a subject. For example, to check the access rights of clients accessing a sensitive object.
 
<br>
To act as substitute for a subject, a proxy must implement the <code>Subject</code> interface.
Clients can't tell whether they work with a subject or its proxy.