Chain of Responsibility
No one can know everything, so there is a saying that “two brains are better than one.” If it’s true, then more brains chained together will be even better. Everybody knows a little bit of something and can unite together to form a powerful entity. It’s pretty much like families helping each other in the same neighborhood or collaborations among team members on projects in an organization. Every unit in a chain of brains can contribute to tackling problems. If a unit of the chain doesn’t know how to handle a problem, then it will pass the problem along the chain and somebody may be able to handle it. Or sometimes, the problem may still be passed along even though there is a unit that knows how to handle it. So a particular process to solve a problem can be complete. It’s analogous to an assembly line; every worker knows how to put particular parts to every unfinished product on the conveyer belt. But the product needs to be passed along the chain of workers on the assembly line until the last one to complete it before it can be shipped. Each worker has his own specialties and responsibility on a production line. So the chain of responsibility can be formed like, “I don’t know this problem, maybe you would” or “I am done with my part, now it’s your turn.” This kind of chain of “brains” or “responsibility” allows further upgrades or expansion without modifying what existing units can do. New units are just simply added to the chain, and then the chain will be more capable. Extra workers are added to the end of the line for adding some more parts to the product. The process of adding workers to the production line shouldn’t affect other existing workers.
KeywordsResponsibility Pattern Assembly Line Class Diagram Conveyer Belt Response Chain
Unable to display preview. Download preview PDF.