Skip to content

Commit eef54b4

Browse files
committed
Added real world example for Chain of Responsibility.
1 parent 8d3131e commit eef54b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@
226226
* you want to issue a request to one of several objects without specifying the receiver explicitly
227227
* the set of objects that can handle a request should be specified dynamically
228228

229+
**Real world examples:**
230+
* [java.util.logging.Logger#log()](http://docs.oracle.com/javase/6/docs/api/java/util/logging/Logger.html#log%28java.util.logging.Level,%20java.lang.String%29)
231+
229232
## <a name="command">Command</a> [&#8593;](#list-of-design-patterns)
230233
**Intent:** Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.
231234

0 commit comments

Comments
 (0)