try {
final Object instance = RemoteProxy.getWrappedInstance(handle);
final Method method = instance.getClass().getMethod(methodName, paramTypes);
result = method.invoke(instance, args);
} catch (Exception e) {
throw new WrappedRuntimeException(e);
}
return result;
}
};
}