@BeanDefinition
public class NonVersionedHistoricalTimeSeriesSourceComponentFactory extends AbstractNonVersionedRedisSourceComponentFactory {
@Override
public void init(ComponentRepository repo, LinkedHashMap<String, String> configuration) throws Exception {
NonVersionedRedisHistoricalTimeSeriesSource source = new NonVersionedRedisHistoricalTimeSeriesSource(getRedisConnector().getJedisPool(), getRedisPrefix());
ComponentInfo info = new ComponentInfo(HistoricalTimeSeriesSource.class, getClassifier());
info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteHistoricalTimeSeriesSource.class);
repo.registerComponent(info, source);