Package com.opengamma.engine.function.resolver

Examples of com.opengamma.engine.function.resolver.DefaultFunctionResolver.compile()


  private CompiledFunctionResolver createFunctionResolver(final FunctionCompilationContext ctx) {
    final CompiledFunctionService cfs = new CompiledFunctionService(createFunctionRepository(), new CachingFunctionRepositoryCompiler(), ctx);
    cfs.initialize();
    final FunctionResolver resolver = new DefaultFunctionResolver(cfs, createPrioritizer());
    return resolver.compile(Instant.now());
  }

  private DependencyGraphBuilder createBuilder() {
    final DependencyGraphBuilderFactory factory = new DependencyGraphBuilderFactory();
    final DependencyGraphBuilder builder = factory.newInstance();
View Full Code Here


    if (prioritizer != null) {
      resolver = new DefaultFunctionResolver(compilationService, prioritizer);
    } else {
      resolver = new DefaultFunctionResolver(compilationService);
    }
    builder.setFunctionResolver(resolver.compile(now));
    builder.setCalculationConfigurationName("testCalcConf");
    return builder;
  }

  public ComputationTarget getTarget() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.