return new FlowExecutorImpl(this.flowRegistry, executionFactory, executionRepository);
}
private FlowExecutionImplFactory getExecutionFactory() {
FlowExecutionImplFactory executionFactory = new FlowExecutionImplFactory();
executionFactory.setExecutionAttributes(getExecutionAttributes());
if (this.listenerLoader != null) {
executionFactory.setExecutionListenerLoader(this.listenerLoader);
}
return executionFactory;
}