final ComponentInfo info = new ComponentInfo(ConventionMaster.class, getClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteConventionMaster.class);
repo.registerComponent(info, master);
if (isPublishRest()) {
repo.getRestComponents().publish(info, new DataConventionMasterResource(master));
}
return master;
}