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));
}
});
register(LockServiceImpl.SERVICE_NAME, new ClientProxyFactory() {
public ClientProxy create(String id) {
return new ClientLockProxy(instanceName, LockServiceImpl.SERVICE_NAME, id);