Chapter 14. Domain Dynamics


The statechart diagrams for classes and associations provide a detailed description of the dynamics of each separate component of the domain. In this chapter, we turn our attention to understanding the dynamics of the domain as a whole.

To make the models comprehensible, control should be partitioned across the several classes. The criteria for control partitioning include limiting control in a state machine to single objects and refactoring into new classes and state machines as necessary.

At the macro level in a domain, there are several ways to manage each macro control cycle. In some cases, an actor can push control and the associated parameters to cause the affected state machines to do work, or control and parameters may be pulled by an actor making a request. The macro control cycles must be linked together to form a coherent whole.

Control can be delegated in several ways, principally hierarchically or across a network of state machines. In many systems, the inputs are known to arrive in certain orders, and we may use this knowledge to simplify the state machines and their communications.

This chapter describes these several control strategies to facilitate building clean control schemes for the domain.



Executable UML. A Foundation for Model-Driven Architecture
Executable UML: A Foundation for Model-Driven Architecture
ISBN: 0201748045
EAN: 2147483647
Year: 2001
Pages: 161

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