|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.proactive.core.mop.MethodCall | +--org.objectweb.proactive.core.group.MethodCallControlForGroup | +--org.objectweb.proactive.core.group.spmd.MethodCallSetSPMDGroup
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 have one parameter. |
Methods inherited from class org.objectweb.proactive.core.group.MethodCallControlForGroup |
finalize, getReifiedMethod, isAsynchronousWayCall, isOneWayCall, readTheObject, 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 |
public MethodCallSetSPMDGroup(java.lang.Object smpgGroup)
smpgGroup
- - the SPMD group to setMethod Detail |
public java.lang.String getName()
getName
in class MethodCall
public int getNumberOfParameter()
getNumberOfParameter
in class MethodCallControlForGroup
MethodCall.getNumberOfParameter()
public java.lang.Object execute(java.lang.Object targetObject) throws java.lang.reflect.InvocationTargetException, MethodCallExecutionFailedException
execute
in class MethodCall
targetObject
- the Object the method is called on
void
, then null
is returned. If the method
returned a primitive type, then it is wrapped inside the appropriate
wrapper object.
java.lang.reflect.InvocationTargetException
- thrown if the execution of the reified
method terminates abruptly by throwing an exception. The exception
thrown by the execution of the reified method is placed inside the
InvocationTargetException object.
MethodCallExecutionFailedException
- thrown if the refleciton of the
call failed.MethodCall.execute(java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |