SE450: The PROXY Pattern [29/55] Previous pageContentsNext page

Context

  1. A class (the real subject) provides a service that is specified by an interface type (the subject type)
  2. There is a need to modify the service in order to make it more versatile.
  3. Neither the client nor the real subject should be affected by the modification.

Previous pageContentsNext page