The Compound Pattern on the Chain of Responsibility and Observer
The chain of responsibility pattern let these object which can handle the request of customer become to a chain, and a handler of the responsibility chain handles the request of a customer or deliver the request of a customer to next handler of the chain of Responsibility. In this paper, let the observer pattern be embedded to the chain of responsibility pattern to become a kind of compound pattern, make the ability of the chain of Responsibility pattern be strengthen. Core of design is the each handler of the chain of Responsibility as the object of observer pattern, and when there is not any an observer of the handler can handle the request of the customer, the handler will deliver the request of the customer to next handler of the responsibility chain.
Responsibility Chain Observer Pattern Compound Pattern
Zhang Yueping Li Yuefan Xu Kesheng
Software Institute of Dalian Jiaotong University, Dalian 116028,China
国际会议
重庆
英文
1383-1385
2009-12-25(万方平台首次上网日期,不代表论文的发表时间)