A Gang of Four behavioral design pattern that passes a request along a chain of potential handlers until one of them handles it, decoupling the sender of a request from the object that ultimately processes it.
Facts
Core PrinciplePasses a request along a chain of handler objects until one of them handles it, decoupling the sender of a request from the specific object that ends up processing it. 2 Connections
Associated With
Erich Gamma, Pioneers Erich Gamma co-authored the 1994 Design Patterns book that named and catalogued the Chain of Responsibility pattern among the original 23.
In Field
Sources
1. Wikipedia: Design Patterns (book)
Wikimedia FoundationLead section, first sentenceQuote, Lead section, first sentence
Design Patterns: Elements of Reusable Object-Oriented Software (1994) is a software engineering book describing software design patterns.
View the Source 2. Wikipedia: Chain of Responsibility Pattern
Wikimedia FoundationLead section, first paragraphQuote, Lead section, first paragraph
the chain-of-responsibility pattern is a behavioral design pattern consisting of a source of command objects and a series of processing objects. Each processing object contains logic that defines the types of command objects that it can handle; the rest are passed to the next processing object in the chain.
View the Source Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.