previous |
start |
next
The PROXY Pattern
Solution
- Define a proxy class that implements the subject interface
type.
The proxy holds a reference to the real subject, or otherwise knows
how to locate it.
- The client uses a proxy object.
- Each proxy method invokes the same method on the real subject
and provides the necessary modifications.
previous |
start |
next