[设计模式] 职责链模式

联想

击鼓传花

意图

Chain Of Responsibility: 为清除请求的发送者和接受者之间的耦合, 而使多个对象都有机会处理这个请求. 将这些对象连成一条链, 并沿着这条链传递该请求, 直到有一个对象处理它.

Java Design Pattern: Chain of Responsibility

JDK

Chain of responsibility (recognizeable by behavioral methods which (indirectly) invokes the same method in another implementation of same abstract/interface type in a queue)