org.objectweb.proactive.core.runtime.LocalNode Class Reference

For internal use only. More...

Collaboration diagram for org.objectweb.proactive.core.runtime.LocalNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LocalNode (String nodeName, String jobId, ProActiveSecurityManager securityManager, String virtualNodeName)
ArrayList< UniqueIDgetActiveObjectsId ()
 
Returns:
Returns the active objects located inside the node.

void setActiveObjects (ArrayList< UniqueID > activeObjects)
 set the list of active objects contained by the node
String getJobId ()
 
Returns:
Returns the jobId.

void setJobId (String jobId)
 
Parameters:
jobId The jobId to set.

String getName ()
 
Returns:
Returns the node name.

void setName (String name)
 
Parameters:
name The node name to set.

ProActiveSecurityManager getSecurityManager ()
 
Returns:
Returns the node' security manager.

void setSecurityManager (ProActiveSecurityManager securityManager)
 
Parameters:
securityManager The securityManager to set.

String getVirtualNodeName ()
 
Returns:
Returns the name of the virtual node by which the node has been instancied if any.

void setVirtualNodeName (String virtualNodeName)
 
Parameters:
virtualNodeName The virtualNodeName to set.

void terminateActiveObjects ()
ArrayList getActiveObjects ()
void unregisterBody (UniqueID bodyID)
 Unregisters the specified UniqueID from the node.
void registerBody (UniqueID bodyID)
 Registers the specified body in the node.
void terminate ()
Object setProperty (String key, String value)
 Put the specified key value in this property list.
String getProperty (String key)
 Searches for the property with the specified key in this property list.

Detailed Description

For internal use only.

This class is a runtime representation of a node and should not be used outside a runtime

Definition at line 50 of file LocalNode.java.


Member Function Documentation

void org.objectweb.proactive.core.runtime.LocalNode.setActiveObjects ( ArrayList< UniqueID activeObjects  ) 

set the list of active objects contained by the node

Parameters:
activeObjects active objects to set.

Definition at line 93 of file LocalNode.java.

Referenced by org.objectweb.proactive.core.runtime.ProActiveRuntimeImpl.createLocalNode().

void org.objectweb.proactive.core.runtime.LocalNode.unregisterBody ( UniqueID  bodyID  ) 

Unregisters the specified UniqueID from the node.

Parameters:
bodyID The UniqueID to remove

Definition at line 200 of file LocalNode.java.

void org.objectweb.proactive.core.runtime.LocalNode.registerBody ( UniqueID  bodyID  ) 

Registers the specified body in the node.

In fact it is the UniqueID of the body that is attached to the node.

Parameters:
bodyID The body to register

Definition at line 209 of file LocalNode.java.

Object org.objectweb.proactive.core.runtime.LocalNode.setProperty ( String  key,
String  value 
)

Put the specified key value in this property list.

Parameters:
key the key to be placed into this property list.
value the value corresponding to key.
Returns:
the previous value of the specified key in this property list, or null if it did not have one.

Definition at line 242 of file LocalNode.java.

String org.objectweb.proactive.core.runtime.LocalNode.getProperty ( String  key  ) 

Searches for the property with the specified key in this property list.

The method returns null if the property is not found.

Parameters:
key the hashtable key.
Returns:
the value in this property list with the specified key value.

Definition at line 252 of file LocalNode.java.


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