mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 18:59:21 +00:00
817 B
817 B
layout, title, folder, permalink, categories, tags
| layout | title | folder | permalink | categories | tags | ||
|---|---|---|---|---|---|---|---|
| pattern | Delegation | delegation | /patterns/delegation/ | Behavioral |
|
Also known as: Proxy Pattern
Intent: It is a technique where an object expresses certain behavior to the outside but in reality delegates responsibility for implementing that behaviour to an associated object.
Applicability: Use the Delegate pattern in order to achieve the following
- Reduce the coupling of methods to their class
- Components that behave identically, but realize that this situation can change in the future.
Credits
