ComponentInfo info = new ComponentInfo(OrganizationMaster.class, getClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 2);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteOrganizationMaster.class);
repo.registerComponent(info, master);
if (isPublishRest()) {
repo.getRestComponents().publish(info, new DataOrganizationMasterResource(master));
}
}