public class RemoteCallMethod extends RemoteCall implements IRemoteCall
Modifier and Type | Field and Description |
---|---|
protected static java.lang.Object[] |
EMPTY_PARAMETERS |
method, parameters, timeout
DEFAULT_TIMEOUT
Constructor and Description |
---|
RemoteCallMethod(java.lang.reflect.Method method) |
RemoteCallMethod(java.lang.reflect.Method method,
long timeout) |
RemoteCallMethod(java.lang.reflect.Method method,
java.lang.Object[] parameters) |
RemoteCallMethod(java.lang.reflect.Method method,
java.lang.Object[] parameters,
long timeout) |
Modifier and Type | Method and Description |
---|---|
static void |
checkForTypeMatch(java.lang.reflect.Method method,
java.lang.Object[] parameters) |
static void |
checkSerializable(java.lang.Object[] parameters) |
void |
setParameters(java.lang.reflect.Method method,
java.lang.Object[] parameters) |
getMethod, getParameters, getTimeout, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMethod, getParameters, getTimeout
public RemoteCallMethod(java.lang.reflect.Method method, java.lang.Object[] parameters, long timeout) throws java.io.NotSerializableException
java.io.NotSerializableException
public RemoteCallMethod(java.lang.reflect.Method method, java.lang.Object[] parameters) throws java.io.NotSerializableException
java.io.NotSerializableException
public RemoteCallMethod(java.lang.reflect.Method method, long timeout)
public RemoteCallMethod(java.lang.reflect.Method method)
public static void checkSerializable(java.lang.Object[] parameters) throws java.io.NotSerializableException
java.io.NotSerializableException
public static void checkForTypeMatch(java.lang.reflect.Method method, java.lang.Object[] parameters)
public void setParameters(java.lang.reflect.Method method, java.lang.Object[] parameters) throws java.io.NotSerializableException
method
- methodparameters
- parametersjava.io.NotSerializableException
- if given parameters cannot be serialized