public class MethodRequestDescriptorImpl extends Object implements MethodRequest, Serializable
InstanceIdAccessor.InstanceIdMutator, InstanceIdAccessor.InstanceIdPropertySessionIdAccessor.SessionIdMutator, SessionIdAccessor.SessionIdProperty| Constructor and Description |
|---|
MethodRequestDescriptorImpl()
Creates a new MethodRequestDescriptor object.
|
MethodRequestDescriptorImpl(Method aMethod,
Object[] aArguments,
String aInstanceId,
String aSessionId)
Creates a new MethodRequestDescriptor object.
|
MethodRequestDescriptorImpl(MethodRequest aMethodRequestDescriptor)
Creates a new MethodRequestDescriptor object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear()
Same as
Clearable.clear(). |
boolean |
equals(Object obj) |
Object[] |
getArgumentArray()
Returns the arguments to be passed to the method which in turn will be
invoked on the target object.
|
Class<?>[] |
getArgumentTypeArray()
Returns an array of Class objects that represent the formal parameter
types, in declaration order, of the method represented by this Method
object.
|
String |
getInstanceId()
Retrieves the instance ID from the instance ID property.
|
String |
getMethodName()
Returns the name of the method represented by this method object, as a
String.
|
String |
getSessionId()
Retrieves the sessionId from the session ID property.
|
protected void |
setArgumentArray(Object[] arguments) |
protected void |
setInstanceId(String instanceId) |
protected void |
setMethodName(String aMethodName) |
protected void |
setMethodRequestDescriptor(MethodRequest methodRequestDescriptor) |
protected void |
setParameterTypes(Class<?>[] parameterTypes) |
protected void |
setSessionId(String sessionId) |
String |
toString() |
public MethodRequestDescriptorImpl()
public MethodRequestDescriptorImpl(MethodRequest aMethodRequestDescriptor)
aMethodRequestDescriptor - The MethodRequest in
question.public MethodRequestDescriptorImpl(Method aMethod, Object[] aArguments, String aInstanceId, String aSessionId)
aMethod - The method in question.aArguments - The arguments to be used for invoking the method.aInstanceId - The instance ID of the request.aSessionId - The session ID for this request.public Object[] getArgumentArray()
getArgumentArray in interface MethodRequestpublic Class<?>[] getArgumentTypeArray()
getArgumentTypeArray in interface MethodRequestpublic String getInstanceId()
getInstanceId in interface InstanceIdAccessorpublic String getMethodName()
getMethodName in interface MethodRequestpublic String getSessionId()
getSessionId in interface SessionIdAccessorprotected void setArgumentArray(Object[] arguments)
arguments - Description is currently not available!protected void setInstanceId(String instanceId)
instanceId - Description is currently not available!protected void setMethodName(String aMethodName)
aMethodName - Description is currently not available!protected void setMethodRequestDescriptor(MethodRequest methodRequestDescriptor)
methodRequestDescriptor - Description is currently not available!protected void setParameterTypes(Class<?>[] parameterTypes)
parameterTypes - Description is currently not available!protected void setSessionId(String sessionId)
sessionId - Description is currently not available!protected void clear()
Clearable.clear().Copyright © 2015. All rights reserved.