all index.md files renamed to README.md for more compatibility with github
This commit is contained in:
30
delegation/README.md
Normal file
30
delegation/README.md
Normal file
@ -0,0 +1,30 @@
|
||||
---
|
||||
layout: pattern
|
||||
title: Delegation
|
||||
folder: delegation
|
||||
permalink: /patterns/delegation/
|
||||
categories: Behavioral
|
||||
tags:
|
||||
- Java
|
||||
- Difficulty-Beginner
|
||||
---
|
||||
|
||||
## 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
|
||||
|
||||
* [Delegate Pattern: Wikipedia ](https://en.wikipedia.org/wiki/Delegation_pattern)
|
||||
* [Proxy Pattern: Wikipedia ](https://en.wikipedia.org/wiki/Proxy_pattern)
|
Reference in New Issue
Block a user