Compound Pattern of Responsibility and Observer Chain

张跃平
DOI: https://doi.org/10.3969/j.issn.1673-9590.2009.03.021
2009-01-01
Abstract:The decorator pattern is embedded to the chain of responsibility pattern to become a kind of compound pattern.The essential part of the design is that a handler is provided for a decorator,so that a handler can be substituted for the decorator.The compound pattern strengthen the ability and flexibility of the chain of responsibility pattern.
What problem does this paper attempt to address?