saker.rmi Documentation TaskDoc JavaDoc Packages
public class RMIUtils
API utilities for the RMI runtime.
Methods
public static Object
Calls a remote method on an RMI proxy object with the specified arguments and without any redirection.
Calls a remote method on an RMI proxy object with the specified arguments and without any redirection.

This method only succeeds if the remote call succeeds. If the RMI configuration forbids the call of this method then the request will fail.
Default implementations are not called, call results are not cached, redirections are not applied, and exceptions are not rethrown as a different type.

If the specified method is not subject of redirection, then this method will throw an RMICallFailedException.

mThe method to call.
remoteobjectThe remote object to execute the call on.
argsThe arguments for the method call.
The result of the invocation.
InvocationTargetExceptionIf the method implementation throws an exception.
RMIRuntimeExceptionIn case of RMI error.