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