ComponentInfo info = new ComponentInfo(InterpolatedYieldCurveSpecificationBuilder.class, getClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteInterpolatedYieldCurveSpecificationBuilder.class);
repo.registerComponent(info, builder);
if (isPublishRest()) {
repo.getRestComponents().publish(info, new DataInterpolatedYieldCurveSpecificationBuilderResource(builder));
}
}