Package com.opengamma.core.historicaltimeseries.impl

Examples of com.opengamma.core.historicaltimeseries.impl.NonVersionedRedisHistoricalTimeSeriesSource


@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);
View Full Code Here

TOP

Related Classes of com.opengamma.core.historicaltimeseries.impl.NonVersionedRedisHistoricalTimeSeriesSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.