Examples of DelegatingSnapshotSource


Examples of com.opengamma.core.marketdatasnapshot.impl.DelegatingSnapshotSource

  //-------------------------------------------------------------------------
  @Override
  protected MarketDataSnapshotSource createObject() {
    MarketDataSnapshotSource source = new MasterSnapshotSource(getSnapshotMaster());
    source = new DelegatingSnapshotSource(source);
    return source;
  }
View Full Code Here

Examples of com.opengamma.core.marketdatasnapshot.impl.DelegatingSnapshotSource

    MarketDataSnapshotSource userSource = initUser(repo, configuration);
    Map<String, MarketDataSnapshotSource> map = new HashMap<String, MarketDataSnapshotSource>();
    if (userSource != null) {
      String scheme = repo.getInfo(getUserMarketDataSnapshotMaster()).getAttribute(ComponentInfoAttributes.UNIQUE_ID_SCHEME);
      map.put(scheme, userSource);
      source = new DelegatingSnapshotSource(source, map);
    }
   
    // register
    ComponentInfo info = new ComponentInfo(MarketDataSnapshotSource.class, getClassifier());
    info.addAttribute(ComponentInfoAttributes.LEVEL, 2);
View Full Code Here

Examples of com.opengamma.core.marketdatasnapshot.impl.DelegatingSnapshotSource

   * @param repo  the component repository, only used to register secondary items like lifecycle, not null
   * @return the snapshot source, not null
   */
  protected MarketDataSnapshotSource createMarketDataSnapshotSource(ComponentRepository repo) {
    MarketDataSnapshotSource source = new MasterSnapshotSource(getMarketDataSnapshotMaster());
    source = new DelegatingSnapshotSource(source);
    return source;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.