}
if (getProvider5() != null) {
maxLevel = buildProviders(repo, getProvider5(), map, acceptedTypes, maxLevel);
}
final HistoricalTimeSeriesProvider provider = new DelegatingHistoricalTimeSeriesProvider(map);
final ComponentInfo info = new ComponentInfo(HistoricalTimeSeriesProvider.class, getClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, (maxLevel + 1));
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteHistoricalTimeSeriesProvider.class);
info.addAttribute(ComponentInfoAttributes.ACCEPTED_TYPES, Joiner.on(',').join(acceptedTypes));
repo.registerComponent(info, provider);