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

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

public class MethodCallBarrier
extends MethodCallControlForGroup

This class represents a call of strong synchronization between the member of a SPMD Group.

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
MethodCallBarrier(java.lang.String idname)
          Constructor
 
Method Summary
 java.lang.Object execute(java.lang.Object target)
          Execution of a barrier call is to block the service of request if the method is sent by the object itself.
 java.lang.String getIDName()
          Returns the ID name of the barrier
 java.lang.String getName()
          Returns the name of the call
 
Methods inherited from class org.objectweb.proactive.core.group.MethodCallControlForGroup
finalize, getBarrierTags, getNumberOfParameter, 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

MethodCallBarrier

public MethodCallBarrier(java.lang.String idname)
Constructor

Parameters:
idname - - the id name of the barrier
Method Detail

getName

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

Overrides:
getName in class MethodCall
Returns:
the String "MethodCallBarrier"

getIDName

public java.lang.String getIDName()
Returns the ID name of the barrier

Returns:
the ID name of the barrier

execute

public java.lang.Object execute(java.lang.Object target)
                         throws java.lang.reflect.InvocationTargetException,
                                MethodCallExecutionFailedException
Execution of a barrier call is to block the service of request if the method is sent by the object itself.

Overrides:
execute in class MethodCallControlForGroup
Parameters:
target - this object is not used.
Returns:
null
Throws:
java.lang.reflect.InvocationTargetException
MethodCallExecutionFailedException


Copyright ? April 2005 INRIA All Rights Reserved.