|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.mop.MethodCall
org.objectweb.proactive.core.group.MethodCallControlForGroup
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 |
componentLogger, priority, shortcut |
Constructor Summary | |
MethodCallControlForGroup()
|
Method Summary | |
java.lang.Object |
execute(java.lang.Object targetObject)
Executes the instance method call represented by this object. |
protected void |
finalize()
|
java.util.LinkedList |
getBarrierTags()
Control messages are never tagged |
int |
getNumberOfParameter()
Returns the number of parmeters (0 for most of method call for group) |
java.lang.reflect.Method |
getReifiedMethod()
|
boolean |
isAsynchronousWayCall()
ControlCall for group never are asynchronous |
boolean |
isOneWayCall()
ControlCall for group always are oneway |
protected void |
readTheObject(java.io.ObjectInputStream in)
|
void |
setBarrierTags(java.util.LinkedList barrierTags)
This method does nothing, because control messages are not subject to be bloqued by barriers |
protected void |
writeTheObject(java.io.ObjectOutputStream out)
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MethodCallControlForGroup()
Method Detail |
public java.lang.reflect.Method getReifiedMethod()
getReifiedMethod
in class MethodCall
public int getNumberOfParameter()
getNumberOfParameter
in class MethodCall
MethodCall.getNumberOfParameter()
protected void writeTheObject(java.io.ObjectOutputStream out) throws java.io.IOException
writeTheObject
in class MethodCall
java.io.IOException
protected void readTheObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
readTheObject
in class MethodCall
java.io.IOException
java.lang.ClassNotFoundException
protected void finalize()
finalize
in class MethodCall
public java.lang.Object execute(java.lang.Object targetObject) throws java.lang.reflect.InvocationTargetException, MethodCallExecutionFailedException
MethodCall
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 reflection of the
call failed.public boolean isAsynchronousWayCall()
isAsynchronousWayCall
in class MethodCall
false
MethodCall.isAsynchronousWayCall()
public boolean isOneWayCall()
isOneWayCall
in class MethodCall
true
MethodCall.isOneWayCall()
public void setBarrierTags(java.util.LinkedList barrierTags)
setBarrierTags
in class MethodCall
barrierTags
- unsed parameterpublic java.util.LinkedList getBarrierTags()
getBarrierTags
in class MethodCall
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |