org.objectweb.proactive.core.component.body
Interface ComponentActive

All Superinterfaces:
Active
All Known Subinterfaces:
ComponentEndActive, ComponentInitActive, ComponentRunActive

public interface ComponentActive
extends Active

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 the InitActive, 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())/
.

Author:
Matthieu Morel



Copyright 2001-2005 INRIA All Rights Reserved.