Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
Active Classes
Description
An Active Class indicates that, when instantiated, the Class controls its own execution. Rather than being invoked or activated by other objects, it can operate standalone and define its own thread of behavior.
Define an Active Class in Enterprise Architect
Step |
Action |
---|---|
1 |
Highlight a Class, and display its 'Properties' dialog. |
2 |
Select the 'Details' tab. |
3 |
Select the 'Is Active' checkbox. |
4 |
Click on the to save the changes. |
OMG UML Specification
The OMG UML specification (UML Superstructure Specification, v2.1.1, p.438) states:
An active object is an object that, as a direct consequence of its creation, commences to execute its classifier behavior, and does not cease until either the complete behavior is executed or the object is terminated by some external object. (This is sometimes referred to as "the object having its own thread of control.") The points at which an active object responds to communications from other objects is determined solely by the behavior of the active object and not by the invoking object. If the classifier behavior of an active object completes, the object is terminated.