Unified Modeling Language Reference Manual, The, Second Edition
by James Rumbaugh, Ivar Jacobson, Grady Booch
token
The presence of a locus of control, including possible data values, during the execution of an activity.
Semantics
The execution semantics of activities are based on the concept of tokens as markers of activities. The concept originally comes for Petri net theory. A token is a run-time marker of the presence of a locus of control. A token may also include data values that are implied by the locus of control. An activity graph may have multiple tokens, indicating concurrent execution.
The execution rules of actions and activity nodes are based on tokens. In general, an action may begin execution when tokens are present on all its input pins. When it begins execution, it removes the tokens from the input pins and internalizes their data values. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access