active object

An object that owns a thread of control and can initiate control activity; an instance of an active class.

See also passive object.

Semantics

An active object does not run within another thread, stack frame, or state machine. It has an independent locus of control within the overall execution of a system. In a sense, it is the thread. Each active object is a distinct locus of execution; active objects are not reentrant, and recursive execution is not possible without the creation of additional objects.

An active object is the root of an execution stack frame in conventional computational terms. The creation of an active object initiates a new instance of a state machine. When the state machine performs a transition, an execution ...

Get Unified Modeling Language Reference Manual, The, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.