org.objectweb.proactive.core.descriptor.data
Class VirtualMachineImpl

java.lang.Object
  |
  +--org.objectweb.proactive.core.descriptor.data.VirtualMachineImpl
All Implemented Interfaces:
java.io.Serializable, VirtualMachine

public class VirtualMachineImpl
extends java.lang.Object
implements VirtualMachine, java.io.Serializable

A VirtualMachine is a conceptual entity that represents a JVM running a ProActiveRuntime

Since:
ProActive 0.9.4
Version:
1.0, 2002/09/20
Author:
ProActive Team
See Also:
Serialized Form

Method Summary
 java.lang.String getCreatorId()
          Returns the value of creatorId field.
 java.lang.String getHostName()
          Returns the name of the machine where the process mapped to this virtual machine was launched.
 java.lang.String getName()
          Returns the name of this VirtualMachine
 java.lang.String getNodeNumber()
          Returns the number of nodes that will be created on this VirtualMachine
 ExternalProcess getProcess()
          Returns the process mapped to this VirtualMachine
 void setCreatorId(java.lang.String creatorId)
          Sets the creatorId field to the given value
 void setHostsNumber(java.lang.String nodeNumber)
          Sets the number of nodes that will be created on this VirtualMachine.
 void setName(java.lang.String s)
          Sets the name of this VirtualMachine
 void setProcess(ExternalProcess p)
          Sets the process mapped to this VirtualMachine to the given process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setHostsNumber

public void setHostsNumber(java.lang.String nodeNumber)
                    throws java.io.IOException
Description copied from interface: VirtualMachine
Sets the number of nodes that will be created on this VirtualMachine.

Specified by:
setHostsNumber in interface VirtualMachine
Parameters:
nodeNumber -
java.io.IOException

getNodeNumber

public java.lang.String getNodeNumber()
Description copied from interface: VirtualMachine
Returns the number of nodes that will be created on this VirtualMachine

Specified by:
getNodeNumber in interface VirtualMachine
Returns:
String

setName

public void setName(java.lang.String s)
Description copied from interface: VirtualMachine
Sets the name of this VirtualMachine

Specified by:
setName in interface VirtualMachine
Parameters:
s -

getName

public java.lang.String getName()
Description copied from interface: VirtualMachine
Returns the name of this VirtualMachine

Specified by:
getName in interface VirtualMachine
Returns:
String

setProcess

public void setProcess(ExternalProcess p)
Description copied from interface: VirtualMachine
Sets the process mapped to this VirtualMachine to the given process

Specified by:
setProcess in interface VirtualMachine
Parameters:
p -

getProcess

public ExternalProcess getProcess()
Description copied from interface: VirtualMachine
Returns the process mapped to this VirtualMachine

Specified by:
getProcess in interface VirtualMachine
Returns:
ExternalProcess

getHostName

public java.lang.String getHostName()
Returns the name of the machine where the process mapped to this virtual machine was launched.

Specified by:
getHostName in interface VirtualMachine
Returns:
String

setCreatorId

public void setCreatorId(java.lang.String creatorId)
Description copied from interface: VirtualMachine
Sets the creatorId field to the given value

Specified by:
setCreatorId in interface VirtualMachine

getCreatorId

public java.lang.String getCreatorId()
Description copied from interface: VirtualMachine
Returns the value of creatorId field.

Specified by:
getCreatorId in interface VirtualMachine
Returns:
String The Id of the VirtualNode that created this VirtualMachine


Copyright © April 2004 INRIA All Rights Reserved.