org.eclipse.ecf.remoteservice.util
Class RemoteCallMethod

java.lang.Object
  extended by org.eclipse.ecf.remoteservice.RemoteCall
      extended by org.eclipse.ecf.remoteservice.util.RemoteCallMethod
All Implemented Interfaces:
IRemoteCall

public class RemoteCallMethod
extends RemoteCall
implements IRemoteCall

Implementation of IRemoteCall based upon Method.


Field Summary
protected static java.lang.Object[] EMPTY_PARAMETERS
           
 
Fields inherited from class org.eclipse.ecf.remoteservice.RemoteCall
method, parameters, timeout
 
Fields inherited from interface org.eclipse.ecf.remoteservice.IRemoteCall
DEFAULT_TIMEOUT
 
Constructor Summary
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)
           
 
Method Summary
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)
           
 
Methods inherited from class org.eclipse.ecf.remoteservice.RemoteCall
getMethod, getParameters, getTimeout, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ecf.remoteservice.IRemoteCall
getMethod, getParameters, getTimeout
 

Field Detail

EMPTY_PARAMETERS

protected static final java.lang.Object[] EMPTY_PARAMETERS
Constructor Detail

RemoteCallMethod

public RemoteCallMethod(java.lang.reflect.Method method,
                        java.lang.Object[] parameters,
                        long timeout)
                 throws java.io.NotSerializableException
Throws:
java.io.NotSerializableException

RemoteCallMethod

public RemoteCallMethod(java.lang.reflect.Method method,
                        java.lang.Object[] parameters)
                 throws java.io.NotSerializableException
Throws:
java.io.NotSerializableException

RemoteCallMethod

public RemoteCallMethod(java.lang.reflect.Method method,
                        long timeout)

RemoteCallMethod

public RemoteCallMethod(java.lang.reflect.Method method)
Method Detail

checkSerializable

public static void checkSerializable(java.lang.Object[] parameters)
                              throws java.io.NotSerializableException
Throws:
java.io.NotSerializableException

checkForTypeMatch

public static void checkForTypeMatch(java.lang.reflect.Method method,
                                     java.lang.Object[] parameters)

setParameters

public void setParameters(java.lang.reflect.Method method,
                          java.lang.Object[] parameters)
                   throws java.io.NotSerializableException
Throws:
java.io.NotSerializableException
Since:
4.0