Package com.opengamma.core.marketdatasnapshot.impl

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


    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

   * @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

Related Classes of com.opengamma.core.marketdatasnapshot.impl.DelegatingSnapshotSource

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.