Examples of EHCachingSecurityMasterDetailProvider


Examples of com.opengamma.masterdb.security.EHCachingSecurityMasterDetailProvider

      JmsChangeManager cm = new JmsChangeManager(getJmsConnector().ensureTopicName(getJmsChangeManagerTopic()));
      master.setChangeManager(cm);
      cm.start();
    }
    if (getCacheManager() != null) {
      master.setDetailProvider(new EHCachingSecurityMasterDetailProvider(new HibernateSecurityMasterDetailProvider(), getCacheManager()));
    }
    return master;
  }
View Full Code Here

Examples of com.opengamma.masterdb.security.EHCachingSecurityMasterDetailProvider

  }

  @BeforeMethod(groups = TestGroup.INTEGRATION)
  public void setUp() throws Exception {
    _secMaster = (DbSecurityMaster) getTestHelper().getSecurityMaster();
    _secMaster.setDetailProvider(new EHCachingSecurityMasterDetailProvider(new HibernateSecurityMasterDetailProvider(), _cacheManager));
  }
View Full Code Here

Examples of com.opengamma.masterdb.security.EHCachingSecurityMasterDetailProvider

      info.addAttribute(ComponentInfoAttributes.JMS_CHANGE_MANAGER_TOPIC, getJmsChangeManagerTopic());
    }
    if (getDetailProvider() != null) {
      SecurityMasterDetailProvider dp = getDetailProvider().newInstance();
      if (getCacheManager() != null) {
        master.setDetailProvider(new EHCachingSecurityMasterDetailProvider(dp, getCacheManager()));
      } else {
        master.setDetailProvider(dp);
      }
    }
    checkSchema(master.getSchemaVersion(), "sec");
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.