You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Proxy is a structural design pattern that provides an object
6
+
*
7
+
* that controls access to another object by intercepting all calls.
8
+
*
9
+
* There are several types of this pattern:
10
+
*
11
+
* 1) Logging proxy - saves all calls to a real object with their parameters to the log (shown in this example)
12
+
* 2) Remote proxy - provides communication with an object which is located in a different address space or on a remote machine (Java Remote Procedure Call)
13
+
* 3) Virtual proxy - ensures that a real object is created only when it is actually needed (shown in this example)
14
+
* 4) Protection proxy - checks whether the caller has the necessary rights to execute the request
0 commit comments