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