org.eclipse.hyades.execution.invocation
Class CallData
java.lang.Object
org.eclipse.hyades.execution.invocation.MarshalData
org.eclipse.hyades.execution.invocation.CallData
- public class CallData
- extends MarshalData
Instances of this type store data pertaining to a method call that is
to be marshalled or unmarshalled.
|
Constructor Summary |
CallData(java.lang.Integer targetId,
java.lang.Class[] argTypes,
java.lang.Object[] callArgs,
java.lang.String call)
This constructor should be used to collect the representation of a method
call that has been unmarshalled. |
|
Method Summary |
java.lang.Object[] |
getCallArgs()
Get the list of actual parameters to be used in the method invocation. |
java.lang.Object |
getTarget()
Get the instance that is the target of the method invocation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CallData
public CallData(java.lang.Integer targetId,
java.lang.Class[] argTypes,
java.lang.Object[] callArgs,
java.lang.String call)
- This constructor should be used to collect the representation of a method
call that has been unmarshalled.
- Parameters:
targetId - the unique id associated with the target objectargTypes - the list of types matching those declared as parameters
in the signature of callcallArgs - the arguments of callcall - the method that is to be invoked
getCallArgs
public java.lang.Object[] getCallArgs()
- Get the list of actual parameters to be used in the method invocation.
- Returns:
- an array of
Objects if the method to be invoked
accepts parameters, or null if the method does not
accept parameters.
getTarget
public java.lang.Object getTarget()
- Get the instance that is the target of the method invocation.
- Returns:
- an
Object