MarketDataSnapshotSource userSource = initUser(repo, configuration);
Map<String, MarketDataSnapshotSource> map = new HashMap<String, MarketDataSnapshotSource>();
if (userSource != null) {
String scheme = repo.getInfo(getUserMarketDataSnapshotMaster()).getAttribute(ComponentInfoAttributes.UNIQUE_ID_SCHEME);
map.put(scheme, userSource);
source = new DelegatingSnapshotSource(source, map);
}
// register
ComponentInfo info = new ComponentInfo(MarketDataSnapshotSource.class, getClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 2);