|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ComponentActive is the root of the all interfaces related to the activity of a component.
In this implementation of the Fractal model, every component is an active
object. The (non-functional) activity of the component can be customized by implementing
the interfaces ComponentInitActive
, ComponentRunActive
,
ComponentEndActive
.
The non-functional activity of the component, if redefined, should use a request filter on component requests to distinguish non-functional component requests from functional component requests. The default policy is FIFO.
The functional activity can also be defined in a primitive component as usually through theInitActive
, RunActive
and EndActive
interfaces.
The functional activity is initiated when the lifecycle of the component starts.
The functional activity is terminated when the lifecycle of the component ends, provided the implementation
of the RunActive.runActivity(Body)
method uses a loop
while (isActive())/.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |