#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

@@ -10,13 +10,15 @@ tags:
- Idiom
---
**Intent:** Execute Around idiom frees the user from certain actions that
## Intent
Execute Around idiom frees the user from certain actions that
should always be executed before and after the business method. A good example
of this is resource allocation and deallocation leaving the user to specify
only what to do with the resource.
![alt text](./etc/execute-around.png "Execute Around")
**Applicability:** Use the Execute Around idiom when
## Applicability
Use the Execute Around idiom when
* you use an API that requires methods to be called in pairs such as open/close or allocate/deallocate.