Examples of FlowExecutionSnapshotFactory


Examples of org.springframework.webflow.execution.repository.snapshot.FlowExecutionSnapshotFactory

    }
  }

  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;
View Full Code Here

Examples of org.springframework.webflow.execution.repository.snapshot.FlowExecutionSnapshotFactory

    }
  }

  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;
View Full Code Here

Examples of org.springframework.webflow.execution.repository.snapshot.FlowExecutionSnapshotFactory

    return executionFactory;
  }

  private DefaultFlowExecutionRepository getFlowExecutionRepository(FlowExecutionFactory executionFactory) {
    ConversationManager manager = getConversationManager();
    FlowExecutionSnapshotFactory snapshotFactory = getSnapshotFactory(executionFactory);
    DefaultFlowExecutionRepository repository = new DefaultFlowExecutionRepository(manager, snapshotFactory);
    if (this.maxFlowExecutionSnapshots != null) {
      repository.setMaxSnapshots((this.maxFlowExecutionSnapshots == 0) ? 1 : this.maxFlowExecutionSnapshots);
    }
    return repository;
View Full Code Here

Examples of org.springframework.webflow.execution.repository.snapshot.FlowExecutionSnapshotFactory

    }
    return manager;
  }

  private FlowExecutionSnapshotFactory getSnapshotFactory(FlowExecutionFactory executionFactory) {
    FlowExecutionSnapshotFactory factory = null;
    if (this.maxFlowExecutionSnapshots != null && this.maxFlowExecutionSnapshots == 0) {
      factory = new SimpleFlowExecutionSnapshotFactory(executionFactory, this.flowRegistry);
    }
    else {
      factory = new SerializedFlowExecutionSnapshotFactory(executionFactory, this.flowRegistry);
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.