mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 12:14:51 +00:00
Fixed link.
This commit is contained in:
1 parent
36482d5b7c
commit
1fc15829ad
1 file changed
+1
-1
@@ -425,7 +425,7 @@ Behavioral patterns are concerned with algorithms and the assignment of responsi
|
|||||||
## <a name="execute-around">Execute Around</a> [↑](#list-of-design-patterns)
|
## <a name="execute-around">Execute Around</a> [↑](#list-of-design-patterns)
|
||||||
**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.
|
**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.
|
* 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