Figure 5.5 shows the structure of the Separation construction principle and Table 5.4 describes the corresponding generic recipe.
Recipe 'Generic adaptation for the Separation construction principle' | |
---|---|
Intent | The recipe describes how to adapt a variation point that is designed according to the Separation construction principle. Framework-specific considerations are not provided here. |
Classes |
|
Steps to Apply |
|
Discussion | The Sep-H class may provide a default implementation for the hook method Sep-h that could be reused through super() calls. Comparing the Separation with the Unification construction principles, it is apparent that the Separation's ability to dynamically replace hook objects increases flexibility but also introduces some overhead (see Chapter 4). |