Package com.opengamma.bbg.security

Examples of com.opengamma.bbg.security.BloombergSecurityProvider


  //-------------------------------------------------------------------------
  @Override
  protected BloombergSecurityProvider createSecurityProvider(ComponentRepository repo) {
    ExchangeDataProvider exchangeDataProvider = initExchangeDataProvider(repo);
    return new BloombergSecurityProvider(getReferenceDataProvider(), exchangeDataProvider);
  }
View Full Code Here


  protected void doSetUpClass() {
    _bbgProvider = BloombergTestUtils.getBloombergReferenceDataProvider();
    _bbgProvider.start();
    ReferenceDataProvider cachingProvider = BloombergTestUtils.getMongoCachingReferenceDataProvider(_bbgProvider);
    ExchangeDataProvider exchangeProvider = DefaultExchangeDataProvider.getInstance();
    BloombergSecurityProvider secProvider = new BloombergSecurityProvider(cachingProvider, exchangeProvider );
    _securityMaster = new DbSecurityMaster(getDbConnector());
    _securityMaster.setDetailProvider(new HibernateSecurityMasterDetailProvider());
    _securityLoader = new DefaultSecurityLoader(_securityMaster, secProvider);
  }
View Full Code Here

TOP

Related Classes of com.opengamma.bbg.security.BloombergSecurityProvider

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.