Package com.opengamma.livedata.normalization

Examples of com.opengamma.livedata.normalization.StandardRuleResolver


    return returnValue;
  }

  public synchronized NormalizationRuleResolver getNormalizationRules() {
    if (_normalizationRules == null) {
      _normalizationRules = new StandardRuleResolver(BloombergDataUtils.getDefaultNormalizationRules(getReferenceDataProvider(), getCacheManager(), getUniqueIdDomain()));
    }
    return _normalizationRules;
  }
View Full Code Here


    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);

    final JmsSenderFactory senderFactory = new JmsSenderFactory(getJmsConnector());
    server.setMarketDataSenderFactory(senderFactory);
View Full Code Here

TOP

Related Classes of com.opengamma.livedata.normalization.StandardRuleResolver

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.