Package com.opengamma.master.marketdatasnapshot.impl

Examples of com.opengamma.master.marketdatasnapshot.impl.RemoteMarketDataSnapshotMaster


    return _interpolatedYieldCurveDefinitionMaster;
  }

  public MarketDataSnapshotMaster getMarketDataSnapshotMaster() {
    if (_marketDataSnapshotMaster == null) {
      _marketDataSnapshotMaster = new RemoteMarketDataSnapshotMaster(_targetProvider.getMarketDataSnapshotMaster());
    }
    return _marketDataSnapshotMaster;
  }
View Full Code Here


   * @param name the classifier name of the object you want to retrieve
   * @return the interface requested, or null if not present
   */
  public MarketDataSnapshotMaster getMarketDataSnapshotMaster(final String name) {
    URI uri = getComponentServer().getComponentInfo(MarketDataSnapshotMaster.class, name).getUri();
    return new RemoteMarketDataSnapshotMaster(uri);
  }
View Full Code Here

   * @param preferredClassifiers a list of names of classifiers in order of preference (most preferred first), or null
   * @return the best matching interface available
   */
  public MarketDataSnapshotMaster getMarketDataSnapshotMaster(final List<String> preferredClassifiers) {
    URI uri = getTopLevelComponent(preferredClassifiers, MarketDataSnapshotMaster.class).getUri();
    return new RemoteMarketDataSnapshotMaster(uri);
  }
View Full Code Here

   * @return a map of classifier names to requested interface type
   */
  public Map<String, MarketDataSnapshotMaster> getMarketDataSnapshotMasters() {
    Map<String, MarketDataSnapshotMaster> result = new LinkedHashMap<String, MarketDataSnapshotMaster>();
    for (ComponentInfo info : getComponentServer().getComponentInfos(MarketDataSnapshotMaster.class)) {
      result.put(info.getClassifier(), new RemoteMarketDataSnapshotMaster(info.getUri()));
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of com.opengamma.master.marketdatasnapshot.impl.RemoteMarketDataSnapshotMaster

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.