|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Enum Summary | |
---|---|
Purpose | Represents the "Gang of Four" purpose classification [Gamma95, p.10]. |
Scope | Represents the "Gang of Four" scope classification [Gamma95, p.10]. |
Annotation Types Summary | |
---|---|
Participant | Identifies a participant as described in [Gamma95, p.7]: a class or object participating in the design pattern. |
ParticipantUsage | Identifies a participant as described in [Gamma95, p.7] that is already represented by an implemented type, typically imported into the pattern package to represent participant functionality defined externally. |
Pattern | Annotation encompassing an entire pattern, declared within
a given package
The actual usage of pattern participants are
specified by the Participant annotation. |
Defines annotations and enumerations corresponding to "Gang of Four" classifications and participants, as well as annotations used to annotate actual source code to identify pattern participants.
Implementation notes:
The retention policy is set to runtime for the annotations defined
in this package. This will potentially allow applications to
reflectively query classes for pattern participation.
|
Gunni Rode / rode.dk | ||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |