public class GenericRemoteInvocationRpcCall extends Object implements RemoteInvocationCall
RemoteInvocationService
. It contains the data for a single method call.Modifier and Type | Field and Description |
---|---|
private Serializable[] |
arguments |
private String |
methodName |
private static long |
serialVersionUID
UID for serialization.
|
private String |
serviceInterfaceName |
private int |
signature |
Modifier | Constructor and Description |
---|---|
protected |
GenericRemoteInvocationRpcCall()
The constructor for (de)serialization.
|
|
GenericRemoteInvocationRpcCall(String serviceInterfaceName,
String methodName,
int signature,
Serializable[] arguments)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
Serializable[] |
getArguments() |
String |
getMethodName() |
String |
getServiceInterfaceName() |
int |
getSignature()
This method gets a technical identifier for the method signature to distinguish methods with the same
name . |
static int |
getSignature(Class<?>... parameterTypes)
This method calculates the
signature . |
static int |
getSignature(String... qualifiedParameterTypes)
This method calculates the
signature . |
String |
toString() |
String |
toString(boolean hideArguments) |
private static final long serialVersionUID
private String serviceInterfaceName
getServiceInterfaceName()
private String methodName
getMethodName()
private int signature
getSignature()
private Serializable[] arguments
getArguments()
protected GenericRemoteInvocationRpcCall()
public GenericRemoteInvocationRpcCall(String serviceInterfaceName, String methodName, int signature, Serializable[] arguments)
serviceInterfaceName
- - see getServiceInterfaceName()
.methodName
- - see getMethodName()
.signature
- - see getSignature()
.arguments
- - see getArguments()
.public String getServiceInterfaceName()
qualified classname
of the
RemoteInvocationService
interface to invoke.public String getMethodName()
name of the method
to invoke.public int getSignature()
name
.getSignature(String...)
public static int getSignature(Class<?>... parameterTypes)
signature
.parameterTypes
- are the method parameter types.signature
.getSignature(String...)
public static int getSignature(String... qualifiedParameterTypes)
signature
.qualifiedParameterTypes
- are the qualified names
of the method parameter
types.signature
.public Serializable[] getArguments()
public String toString(boolean hideArguments)
hideArguments
- - true
if the arguments
should be hidden e.g.
to prevent data security issues when logging, false
if the arguments
shall be included.toString()
Copyright © 2001–2016 mmm-Team. All rights reserved.