Package com.opengamma.engine.marketdata

Examples of com.opengamma.engine.marketdata.SingletonMarketDataProviderFactory


    }
  };

  private DependencyGraphExecutionFuture executeTestJob(final DependencyGraphExecutorFactory factory) {
    final InMemoryLKVMarketDataProvider marketDataProvider = new InMemoryLKVMarketDataProvider();
    final MarketDataProviderResolver marketDataProviderResolver = new SingleMarketDataProviderResolver(new SingletonMarketDataProviderFactory(marketDataProvider));
    final InMemoryFunctionRepository functionRepository = new InMemoryFunctionRepository();
    _functionCount.set(0);
    final MockFunction mockFunction = new MockFunction(ComputationTarget.NULL) {
      @Override
      public Set<ComputedValue> execute(final FunctionExecutionContext executionContext, final FunctionInputs inputs, final ComputationTarget target, final Set<ValueRequirement> desiredValues) {
View Full Code Here


public class SingleMarketDataProviderResolver implements MarketDataProviderResolver {

  private final MarketDataProviderFactory _providerFactory;
 
  public SingleMarketDataProviderResolver(MarketDataProvider provider) {
    this(new SingletonMarketDataProviderFactory(provider));
  }
View Full Code Here

TOP

Related Classes of com.opengamma.engine.marketdata.SingletonMarketDataProviderFactory

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.