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);
}
});
register(IdGeneratorService.SERVICE_NAME, new ClientProxyFactory() {
public ClientProxy create(String id) {
String name = String.valueOf(id);