new DiscardingInvocationStatisticsGatherer(), new CalculationNodeLogEventListener(threadLocalLogListener));
final LocalNodeJobInvoker jobInvoker = new LocalNodeJobInvoker(localCalcNode);
vpFactBean.setComputationJobDispatcher(new JobDispatcher(jobInvoker));
vpFactBean.setFunctionResolver(generateFunctionResolver(compiledFunctions));
vpFactBean.setViewResultListenerFactory(_viewResultListenerFactory);
_viewProcessor = (ViewProcessorImpl) vpFactBean.createObject();
}
public CompiledViewDefinitionWithGraphsImpl compileViewDefinition(final Instant valuationTime, final VersionCorrection versionCorrection) {
if (getViewProcessor() == null) {
throw new IllegalStateException(ViewProcessorTestEnvironment.class.getName() + " has not been initialised");