/** * Create the flow executor instance created by this factory bean and configure it appropriately. Subclasses may * override if they which to use a custom executor implementation. * @param definitionLocator the definition locator to use * @param executionFactory the execution factory to use * @param executionRepository the execution repository to use * @return a new flow executor instance */ protected FlowExecutor createFlowExecutor(FlowDefinitionLocator definitionLocator, FlowExecutionFactory executionFactory, FlowExecutionRepository executionRepository) { FlowExecutorImpl flowExecutor = new FlowExecutorImpl(definitionLocator, executionFactory, executionRepository); if (getInputMapper() != null) { flowExecutor.setInputMapper(inputMapper); } return flowExecutor; }