Package com.opengamma.web.analytics.rest

Examples of com.opengamma.web.analytics.rest.LiveMarketDataProviderNamesResource


    ViewportResultsJsonCsvWriter viewportResultsWriter = new ViewportResultsJsonCsvWriter(resultsFormatter);

    repo.getRestComponents().publishResource(aggregatorsResource);
    repo.getRestComponents().publishResource(snapshotResource);
    if (getLiveMarketDataProviderFactory() != null) {
      repo.getRestComponents().publishResource(new LiveMarketDataProviderNamesResource(getLiveMarketDataProviderFactory()));
    } else if (getMarketDataSpecificationRepository() != null) {
      repo.getRestComponents().publishResource(new LiveMarketDataSpecificationNamesResource(getMarketDataSpecificationRepository()));
    } else {
      throw new OpenGammaRuntimeException("Neither " + marketDataSpecificationRepository().name() + " nor " + liveMarketDataProviderFactory().name() + " were specified");
    }
View Full Code Here

TOP

Related Classes of com.opengamma.web.analytics.rest.LiveMarketDataProviderNamesResource

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.