mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 18:16:16 +00:00
#354 Add maven model for feature toggle design pattern
This commit is contained in:
1 parent
cf10bd1d05
commit
d7526fc7c0
86 files changed
+1165
-270
No files matched your search
@@ -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.
|
||||
|
||||

|
||||
|
||||
**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.
|
||||
Reference in new issue
Block a user