You are previewing UML Profile for Framework Architectures, The.
O'Reilly logo
UML Profile for Framework Architectures, The

Book Description

The aim of the UML profile for framework architectures is the definition of a UML subset, enriched with a few UML-compliant extensions, which allows the annotation of such artefacts. Thus, the resulting profile that we call UML-F does not correspond to a specific domain, but to framework technology. Though profiles might be standardized in the future, sound proposals from various communities will get the process of defining and standardizing UML profiles started. In that sense, this book sets the stage for the UML profile for framework architectures.

Table of Contents

  1. Copyright
  2. Preface
  3. The UML-F profile
    1. Why a UML profile for frameworks?
      1. UML profiles
      2. Object-oriented frameworks–extensibility is the key
      3. Pros and cons of frameworks
      4. Goals of the UML-F profile
    2. UML essentials for framework documentation
      1. UML overview
      2. Class diagrams
      3. Object diagrams
      4. Sequence diagrams
      5. Summary
    3. Basic elements of the UML-F profile
      1. UML-F as a profile
      2. UML-F tags – standard UML tagged values and stereotypes unified
      3. Standard UML tags for framework documentation
      4. UML-F presentation tags
      5. UML-F framework tags
      6. The UML-F mechanism for defining new tags
      7. Summary
    4. UML-F tags for framework construction principles and patterns
      1. Unification principle – adaptation by inheritance
      2. Separation principle – adaptation through composition
      3. Terminology and concept excursion: abstract classes, abstract coupling, Java interfaces
      4. Hooks as name designators of pattern catalog entries
      5. UML-F tags for framework patterns
      6. How essential framework construction principles scale
      7. Summary
    5. Framework adaptations of UML-F pattern annotations
      1. Cookbooks for framework adaptation
      2. A sample cookbook recipe
      3. Recipe for adapting the Unification construction principle
      4. Recipe for adapting the Separation construction principle
      5. Recipe for adapting the Composite pattern
      6. Automating the adaptation of UML-F pattern annotations
      7. Summary
  4. UML-F @ work
    1. UML-F based documentation and adaptation of the JUnit testing framework
      1. An overview of JUnit
      2. Recipes for defining new tests
      3. Organizing test cases into test suites
      4. Reporting test results
      5. Summary
    2. Hints and guidelines for the framework development and adaptation process
      1. The cluster cycle process model of framework development and adaptation
      2. Defining the key abstractions as an initial step
      3. Class families, class teams, and subsystems
      4. Identification of a framework's variation points
      5. The AOCS framework: a case study
      6. The AOCS manager pattern
      7. Framelets as an aid to framework design
      8. eXtreme Design (XD), with implementation cases
      9. Framework adaptations through cookbook recipes, adaptation cases, and adaptation reports
      10. Summary
      11. UML-F outlook
    3. UML-F tag quick reference
      1. Tag notations
      2. Presentation tags
      3. Basic framework modeling tags
      4. Essential tags for the framework construction principles
      5. Framework pattern tags
    4. UML-F tags for the GoF framework patterns
      1. Factory Method pattern tags
      2. Template Method pattern tags
      3. Abstract Factory pattern tags
      4. Bridge pattern tags
      5. Builder pattern tags
      6. Command pattern tags
      7. Interpreter pattern tags
      8. Observer pattern tags
      9. Prototype pattern tags
      10. State pattern tags
      11. Strategy pattern tags
      12. Composite pattern tags
      13. Decorator pattern tags
      14. Chain of Responsibility (COR) pattern tags
    5. Bibliography