The UML Profile for Framework Architectures

B.14 Chain of Responsibility (COR) pattern tags

Figure B.14 shows the static structure of the Chain-of-Responsibility (COR) pattern (Gamma et al. 1995) annotated with UML-F tags. Table B.14 summarizes the COR pattern UML-F tags. COR corresponds to the COR framework construction principle, which is a recursive combination of template and hook methods in which the these two methods are unified into a single method. A list (chain) of objects that implement this method is composed, and a request is forwarded through this list to be handled by each object in the chain.

Figure B.14. Structure of the COR pattern annotated with UML-F

Table B.14. Definition of the UML-F COR pattern tags.

Tags

COR Client , COR Handler , COR ConcreteHandler ,

COR handleRequest , COR handleRequest , COR successor

Apply to

As shown in Fig. B.14:

Class ( COR Client , COR Handler , COR ConcreteHandler )

Method ( COR-handleRequest , COR-handleRequest )

Association ( COR-successor )

Interface ( COR-Client )

Type String.
Expansion not applicable

Категории