Package com.opengamma.master.historicaltimeseries.impl

Examples of com.opengamma.master.historicaltimeseries.impl.DataHistoricalTimeSeriesResolverResource


    ComponentInfo infoSource = new ComponentInfo(HistoricalTimeSeriesSource.class, getClassifier());
    infoSource.addAttribute(ComponentInfoAttributes.LEVEL, 1);
    infoSource.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteHistoricalTimeSeriesSource.class);
    repo.registerComponent(infoSource, source);
    if (isPublishRest()) {
      repo.getRestComponents().publish(infoResolver, new DataHistoricalTimeSeriesResolverResource(resolver, OpenGammaFudgeContext.getInstance()));
      repo.getRestComponents().publish(infoSource, new DataHistoricalTimeSeriesSourceResource(source));
    }
  }
View Full Code Here


    infoRedis.addAttribute(ComponentInfoAttributes.LEVEL, 1);
    repo.registerComponent(infoRedis, instance);

    // Is caching needed? assume no for now
    if (_publishRest) {
      repo.getRestComponents().publish(infoResolver, new DataHistoricalTimeSeriesResolverResource(resolver, OpenGammaFudgeContext.getInstance()));
      repo.getRestComponents().publish(infoSource, new DataHistoricalTimeSeriesSourceResource(instance));
    }
  }
View Full Code Here

TOP

Related Classes of com.opengamma.master.historicaltimeseries.impl.DataHistoricalTimeSeriesResolverResource

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.