public void init(ClientConfig config) {
final String instanceName = client.getName();
// register defaults
register(MapService.SERVICE_NAME, new ClientProxyFactory() {
public ClientProxy create(String id) {
return new ClientMapProxy(instanceName, MapService.SERVICE_NAME, String.valueOf(id));
}
});
register(QueueService.SERVICE_NAME, new ClientProxyFactory() {
public ClientProxy create(String id) {
return new ClientQueueProxy(instanceName, QueueService.SERVICE_NAME, String.valueOf(id));