org.objectweb.proactive.core.group.spmd
Class MethodCallSetSPMDGroup

java.lang.Object
  extended byorg.objectweb.proactive.core.mop.MethodCall
      extended byorg.objectweb.proactive.core.group.MethodCallControlForGroup
          extended byorg.objectweb.proactive.core.group.spmd.MethodCallSetSPMDGroup
All Implemented Interfaces:
java.io.Serializable

public class MethodCallSetSPMDGroup
extends MethodCallControlForGroup

Author:
Laurent Baduel
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.objectweb.proactive.core.mop.MethodCall
MethodCall.FixWrapper
 
Field Summary
 
Fields inherited from class org.objectweb.proactive.core.mop.MethodCall
COMPONENT_TAG
 
Constructor Summary
MethodCallSetSPMDGroup(java.lang.Object smpgGroup)
          Builds a method call to set the SPMD group
 
Method Summary
 java.lang.Object execute(java.lang.Object targetObject)
          Executes the call.
 java.lang.String getName()
          Returns the name of the call
 int getNumberOfParameter()
          This call has one parameter : the group to set as SPMD group.
 
Methods inherited from class org.objectweb.proactive.core.group.MethodCallControlForGroup
finalize, getBarrierTags, getReifiedMethod, isAsynchronousWayCall, isOneWayCall, readTheObject, setBarrierTags, writeTheObject
 
Methods inherited from class org.objectweb.proactive.core.mop.MethodCall
getComponentMethodCall, getFcFunctionalInterfaceName, getMethodCall, getParameter, getRecycleMethodCallObject, getTag, makeDeepCopyOfArguments, setEffectiveArguments, setFcFunctionalInterfaceName, setMethodCall, setRecycleMethodCallObject, setTag, transformEffectiveArgumentsIntoByteArray
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCallSetSPMDGroup

public MethodCallSetSPMDGroup(java.lang.Object smpgGroup)
Builds a method call to set the SPMD group

Parameters:
smpgGroup - - the SPMD group to set
Method Detail

getName

public java.lang.String getName()
Returns the name of the call

Overrides:
getName in class MethodCall
Returns:
the String "MethodCallSetSPMDGroup";

getNumberOfParameter

public int getNumberOfParameter()
This call has one parameter : the group to set as SPMD group.

Overrides:
getNumberOfParameter in class MethodCallControlForGroup
Returns:
1
See Also:
MethodCall.getNumberOfParameter()

execute

public java.lang.Object execute(java.lang.Object targetObject)
                         throws java.lang.reflect.InvocationTargetException,
                                MethodCallExecutionFailedException
Executes the call.

Overrides:
execute in class MethodCallControlForGroup
Throws:
java.lang.reflect.InvocationTargetException
MethodCallExecutionFailedException
See Also:
MethodCall.execute(java.lang.Object)


Copyright ? April 2005 INRIA All Rights Reserved.