Package com.opengamma.livedata.resolver

Examples of com.opengamma.livedata.resolver.DistributionSpecificationResolver


      return ret;
    }
  }
 
  public DistributionSpecificationResolver getDefaultDistributionSpecificationResolver() {
    DistributionSpecificationResolver distributionSpecResolver = new DelegatingDistributionSpecificationResolver();
    //TODO should I cache here
    return new EHCachingDistributionSpecificationResolver(distributionSpecResolver, getCacheManager(), "COMBINING");
  }
View Full Code Here


    };
    BloombergLiveDataServer server = new BloombergLiveDataServer(BloombergTestUtils.getBloombergConnector(),
                                                                 cachingRefDataProvider,
                                                                 EHCacheUtils.createCacheManager(),
                                                                 fudgeMessageSender);
    DistributionSpecificationResolver distributionSpecificationResolver = server.getDefaultDistributionSpecificationResolver();
    server.setDistributionSpecificationResolver(distributionSpecificationResolver);
   
    server.start();
    return server;
  }
View Full Code Here

    if (getSubscriptionTickerLimit() != null) {
      realServer.setSubscriptionLimit(getSubscriptionTickerLimit());
    }

    // plugins
    DistributionSpecificationResolver distSpecResolver = realServer.getDefaultDistributionSpecificationResolver();
    LiveDataEntitlementChecker entitlementChecker = initEntitlementChecker(distSpecResolver);
    JmsSenderFactory senderFactory = new JmsSenderFactory(getJmsConnector());

    realServer.setDistributionSpecificationResolver(distSpecResolver);
    realServer.setEntitlementChecker(entitlementChecker);
View Full Code Here

   *
   * @param repo  the repository, not null
   * @param server  the server being configured, not null
   */
  protected void configureServerPlugins(ComponentRepository repo, PriorityResolvingCombiningLiveDataServer server) {
    DistributionSpecificationResolver resolver = server.getDefaultDistributionSpecificationResolver();
   
    UserManager userManager = new HibernateUserManager(getDbConnector());
    LiveDataEntitlementChecker entitlementChecker = new UserEntitlementChecker(userManager, resolver);
   
    JmsSenderFactory senderFactory = new JmsSenderFactory(getJmsConnector());
View Full Code Here

TOP

Related Classes of com.opengamma.livedata.resolver.DistributionSpecificationResolver

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.