public void onSuccess(Method method, String response) {
Map<String, String> repMap = helper.readPropertyMap(response);
for (Map.Entry<String, String> entry : repMap.entrySet()) {
RepresentationFactory.registerItemClassName(entry.getKey(), entry.getValue());
}
bus.fireEvent(new RepresentationFactoryPopulatedEvent());
}
});
}