Package com.opengamma.livedata.resolver

Examples of com.opengamma.livedata.resolver.DefaultDistributionSpecificationResolver


  }

  public synchronized DistributionSpecificationResolver getDefaultDistributionSpecificationResolver() {
    if (_defaultDistributionSpecificationResolver == null) {
      BloombergJmsTopicNameResolver topicResolver = new BloombergJmsTopicNameResolver(getReferenceDataProvider());
      DefaultDistributionSpecificationResolver distributionSpecResolver = new DefaultDistributionSpecificationResolver(getIdResolver(), getNormalizationRules(), topicResolver);
      return new EHCachingDistributionSpecificationResolver(distributionSpecResolver, getCacheManager(), "BBG");
    }
    return _defaultDistributionSpecificationResolver;
  }
View Full Code Here


  @Override
  protected StandardLiveDataServer initServer(final ComponentRepository repo) {
    final ExampleLiveDataServer server = new ExampleLiveDataServer(getCacheManager(), getSimulatedData());

    final Collection<NormalizationRuleSet> rules = ImmutableList.of(StandardRules.getNoNormalization(), NormalizationRules.getMarketValueNormalization());
    final DefaultDistributionSpecificationResolver distSpecResolver = new DefaultDistributionSpecificationResolver(
        new SyntheticIdResolver(),
        new StandardRuleResolver(rules),
        new ExampleJmsTopicNameResolver());
    server.setDistributionSpecificationResolver(distSpecResolver);
View Full Code Here

TOP

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

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.