return NullOrZero.nullOrZero(invocation.getMethod().getReturnType());
}
protected void setupRemoteFuture(MethodInvocation invocation, RemotableFuture future, InvokerLocator locator)throws Exception
{
GUID futureGUID = new GUID();
Dispatcher.singleton.registerTarget(futureGUID, future);
InstanceAdvised ia = (generateProxy()) ?
ProxyFactory.createInterfaceProxy(futureClassGUID, Future.class.getClassLoader(), futureIntf) :
(InstanceAdvised)FutureInvocationHandler.createFutureProxy(futureClassGUID, Future.class.getClassLoader(), futureDynamicIntf);
Remoting.makeRemotable(ia, locator, futureGUID);