From eef54b41bf02a0e041c51613b201bed4b42fd5f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Wed, 25 Feb 2015 16:31:52 +0200 Subject: [PATCH] Added real world example for Chain of Responsibility. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 57aae271b..e2ffdbb56 100644 --- a/README.md +++ b/README.md @@ -226,6 +226,9 @@ * you want to issue a request to one of several objects without specifying the receiver explicitly * the set of objects that can handle a request should be specified dynamically +**Real world examples:** +* [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) + ## Command [↑](#list-of-design-patterns) **Intent:** Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable operations.