return new ClientAtomicLongProxy(instanceName, AtomicLongService.SERVICE_NAME, String.valueOf(id));
}
});
register(AtomicReferenceService.SERVICE_NAME, new ClientProxyFactory() {
public ClientProxy create(String id) {
return new ClientAtomicReferenceProxy(instanceName, AtomicReferenceService.SERVICE_NAME, String.valueOf(id));
}
});
register(DistributedExecutorService.SERVICE_NAME, new ClientProxyFactory() {
public ClientProxy create(String id) {
return new ClientExecutorServiceProxy(instanceName, DistributedExecutorService.SERVICE_NAME, String.valueOf(id));