Next: Architectural Patterns - Frameworks
Up: Lecture 2: Classes, Objects,
Previous: Design Patterns
- Mechanisms are design pattern for classes.
- Collaboration models mechanism: a template collaboration with role parameters for the template is used.
- Example of Mechanism: Adapter pattern: adapting a class to respond to a slightly different set of events from knowledge of its responses to a set of events.
- Example Mechanism: Observer pattern
Ananda Amatya
11/3/1999