infoMaster.addAttribute(ComponentInfoAttributes.LEVEL, 1);
infoMaster.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteInterpolatedYieldCurveDefinitionMaster.class);
repo.registerComponent(infoMaster, masterAndSource);
ComponentInfo infoSource = new ComponentInfo(InterpolatedYieldCurveDefinitionSource.class, getUserClassifier());
infoSource.addAttribute(ComponentInfoAttributes.LEVEL, 1);
infoSource.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteInterpolatedYieldCurveDefinitionSource.class);
repo.registerComponent(infoSource, masterAndSource);
if (isPublishRest()) {
repo.getRestComponents().publish(infoMaster, new DataInterpolatedYieldCurveDefinitionMasterResource(masterAndSource));
repo.getRestComponents().publish(infoSource, new DataInterpolatedYieldCurveDefinitionSourceResource(masterAndSource));