#354 Add maven model for feature toggle design pattern

This commit is contained in:
Joseph McCarthy
2016-01-25 21:14:24 +00:00
parent cf10bd1d05
commit d7526fc7c0
86 changed files with 1165 additions and 270 deletions

View File

@@ -9,7 +9,8 @@ tags:
- Difficulty-Beginner
---
**Intent:** Dependency Injection is a software design pattern in which one or
## Intent
Dependency Injection is a software design pattern in which one or
more dependencies (or services) are injected, or passed by reference, into a
dependent object (or client) and are made part of the client's state. The
pattern separates the creation of a client's dependencies from its own
@@ -18,7 +19,8 @@ inversion of control and single responsibility principles.
![alt text](./etc/dependency-injection.png "Dependency Injection")
**Applicability:** Use the Dependency Injection pattern when
## Applicability
Use the Dependency Injection pattern when
* when you need to remove knowledge of concrete implementation from object
* to enable unit testing of classes in isolation using mock objects or stubs