Examples of MasterRegionSource


Examples of com.opengamma.master.region.impl.MasterRegionSource

   *
   * @param repo  the component repository, only used to register secondary items like lifecycle, not null
   * @return the region source, not null
   */
  protected RegionSource createRegionSource(ComponentRepository repo) {
    RegionSource source = new MasterRegionSource(getRegionMaster());
    if (getCacheManager() != null) {
      source = new EHCachingRegionSource(source, getCacheManager());
    }
    return source;
  }
View Full Code Here

Examples of com.opengamma.master.region.impl.MasterRegionSource

  @BeforeMethod(groups = TestGroup.UNIT)
  public void createFudgeContext() {
    _fudgeContext = OpenGammaFudgeContext.getInstance();
    final RegionMaster regionMaster = new InMemoryRegionMaster();
    RegionFileReader.createPopulated(regionMaster);
    _regionSource = new MasterRegionSource(regionMaster);
  }
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.