org.objectweb.proactive.InitActive Interface Reference

Inheritance diagram for org.objectweb.proactive.InitActive:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.proactive.InitActive:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

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.

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

Definition at line 55 of file InitActive.java.


Member Function Documentation

void org.objectweb.proactive.InitActive.initActivity ( Body  body  ) 

Initializes the activity of the active object.

Parameters:
body the body of the active object being initialized

Implemented in org.objectweb.proactive.branchnbound.core.Manager, org.objectweb.proactive.core.component.body.ComponentActivity, org.objectweb.proactive.mpi.control.ProActiveMPICoupling, org.objectweb.proactive.p2p.service.node.P2PNodeLookup, org.objectweb.proactive.p2p.service.node.P2PNodeManager, org.objectweb.proactive.p2p.service.P2PAcquaintanceManager, and org.objectweb.proactive.p2p.service.P2PService.

Referenced by org.objectweb.proactive.core.component.body.ComponentActivity.initActivity(), org.objectweb.proactive.core.body.ActiveBody.run(), and org.objectweb.proactive.core.component.body.ComponentActivity.runActivity().


The documentation for this interface was generated from the following file:
Generated on Mon Jan 22 15:16:13 2007 for ProActive by  doxygen 1.5.1