Title :
The Compound Pattern on the Chain of Responsibility and Observer
Author :
Yueping, Zhang ; Yuefan, Li ; Kesheng, Xu
Author_Institution :
Software Inst., Dalian Jiaotong Univ., Dalian, China
Abstract :
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.
Keywords :
object-oriented programming; observers; compound pattern; observer pattern; responsibility chain pattern; Application software; Computer applications; Concrete; Feedback; Software design; Compound Pattern; Observer Pattern; Responsibility Chain;
Conference_Titel :
Computer Science-Technology and Applications, 2009. IFCSTA '09. International Forum on
Conference_Location :
Chongqing
Print_ISBN :
978-0-7695-3930-0
Electronic_ISBN :
978-1-4244-5423-5
DOI :
10.1109/IFCSTA.2009.342