ComponentInfo info = new ComponentInfo(SecuritySource.class, getUnderlyingClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteFinancialSecuritySource.class);
repo.registerComponent(info, source);
if (isPublishRest()) {
repo.getRestComponents().publish(info, new DataFinancialSecuritySourceResource(source));
}
}
return source;
}