B.14 Chain of Responsibility (COR) pattern tags

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
graphics/bfig14.gif

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



The UML Profile for Framework Architectures
The UML Profile for Framework Architectures
ISBN: 0201675188
EAN: 2147483647
Year: 2000
Pages: 84

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net