final ComponentInfo info = new ComponentInfo(TempTargetRepository.class, getClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteTempTargetRepository.class);
repo.registerComponent(info, instance);
if (isPublishRest()) {
repo.getRestComponents().publish(info, new DataTempTargetRepositoryResource(instance));
}
}