org.objectweb.proactive
Interface InitActive

All Superinterfaces:
Active
All Known Implementing Classes:
ComponentActivity, Manager, P2PAcquaintanceManager, P2PNodeLookup, P2PNodeManager, P2PService, ProActiveMPICoupling

public interface InitActive
extends Active

InitActive is related to the initialization of the activity of an active object. The initialization of the activity is done only once. In case of a migration, an active object restarts its activity automatically without reinitializing.

An object implementing this interface can be invoked to perform the initialization work before the activity is started. The object being reified as an active object can implement this interface or an external class can also be used.

It is generally the role of the body of the active object to perform the call on the object implementing this interface.

Since:
ProActive 0.9.3
Version:
1.0, 2002/06
Author:
ProActive Team

Method Summary
 void initActivity(Body body)
          Initializes the activity of the active object.
 

Method Detail

initActivity

void initActivity(Body body)
Initializes the activity of the active object.

Parameters:
body - the body of the active object being initialized


Copyright 2001-2007 INRIA All Rights Reserved.