private DefaultFlowExecutionRepository createFlowExecutionRepository(FlowExecutionFactory executionFactory) { ConversationManager conversationManager = createConversationManager(); FlowExecutionSnapshotFactory snapshotFactory = createFlowExecutionSnapshotFactory(executionFactory); DefaultFlowExecutionRepository rep = new DefaultFlowExecutionRepository(conversationManager, snapshotFactory); if (maxFlowExecutionSnapshots != null) { rep.setMaxSnapshots(maxFlowExecutionSnapshots); } return rep; }
private DefaultFlowExecutionRepository createFlowExecutionRepository(FlowExecutionFactory executionFactory) { ConversationManager conversationManager = createConversationManager(); FlowExecutionSnapshotFactory snapshotFactory = createFlowExecutionSnapshotFactory(executionFactory); DefaultFlowExecutionRepository rep = new DefaultFlowExecutionRepository(conversationManager, snapshotFactory); if (maxFlowExecutionSnapshots != null) { rep.setMaxSnapshots(maxFlowExecutionSnapshots.intValue()); } return rep; }
private DefaultFlowExecutionRepository createFlowExecutionRepository(FlowExecutionFactory executionFactory) { ConversationManager conversationManager = createConversationManager(); FlowExecutionSnapshotFactory snapshotFactory = createFlowExecutionSnapshotFactory(executionFactory); DefaultFlowExecutionRepository rep = new DefaultFlowExecutionRepository(conversationManager, snapshotFactory); if (maxFlowExecutionSnapshots != null) { rep.setMaxSnapshots(maxFlowExecutionSnapshots); } return rep; }