public class RemoteObject
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Constructor and Description |
---|
RemoteObject(ObjectStore store,
HostedConnection client) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Callback from InvocationHandler.
|
void |
loadMethods(java.lang.Class<?> interfaceClass)
Generates mappings from the given interface into the remote RMI
interface's implementation.
|
public RemoteObject(ObjectStore store, HostedConnection client)
public void loadMethods(java.lang.Class<?> interfaceClass)
interfaceClass
- The interface class to use.public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable