{
final InvokerLocator locator = (InvokerLocator) invocation.getMetaData(InvokeRemoteInterceptor.REMOTING,
InvokeRemoteInterceptor.INVOKER_LOCATOR);
Object oid = invocation.getMetaData().getMetaData(Dispatcher.DISPATCHER, Dispatcher.OID);
final PojiProxy proxy = new PojiProxy(oid, locator, new Interceptor[]{});
final AsyncCancellableContext container = (AsyncCancellableContext) Proxy.newProxyInstance(Thread
.currentThread().getContextClassLoader(), new Class<?>[]
{AsyncCancellableContext.class}, proxy);
return new ResultUnwrappingExecutorService(ClientExecutorService.INSTANCE, container);
}
}