Package org.springframework.webflow.execution.repository.snapshot

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


          FlowDefinitionConstructionException {
        return flow;
      }
    };
    FlowExecutionFactory executionFactory = new FlowExecutionImplFactory();
    SerializedFlowExecutionSnapshotFactory snapshotFactory = new SerializedFlowExecutionSnapshotFactory(
        executionFactory, locator);
    repository = new DefaultFlowExecutionRepository(conversationManager, snapshotFactory);
  }
View Full Code Here


  private FlowExecutionSnapshotFactory createFlowExecutionSnapshotFactory(FlowExecutionFactory executionFactory) {
    if (maxFlowExecutionSnapshots != null && maxFlowExecutionSnapshots.intValue() == 0) {
      maxFlowExecutionSnapshots = new Integer(1);
      return new SimpleFlowExecutionSnapshotFactory(executionFactory, flowDefinitionLocator);
    } else {
      return new SerializedFlowExecutionSnapshotFactory(executionFactory, flowDefinitionLocator);
    }
  }
View Full Code Here

      public FlowDefinition getFlowDefinition(String flowId) throws NoSuchFlowDefinitionException,
          FlowDefinitionConstructionException {
        return flow;
      }
    };
    SerializedFlowExecutionSnapshotFactory snapshotFactory = new SerializedFlowExecutionSnapshotFactory(
        executionFactory, locator);
    repository = new DefaultFlowExecutionRepository(conversationManager, snapshotFactory);
    executionFactory.setExecutionKeyFactory(repository);
  }
View Full Code Here

  private FlowExecutionSnapshotFactory createFlowExecutionSnapshotFactory(FlowExecutionFactory executionFactory) {
    if (maxFlowExecutionSnapshots != null && maxFlowExecutionSnapshots == 0) {
      maxFlowExecutionSnapshots = 1;
      return new SimpleFlowExecutionSnapshotFactory(executionFactory, flowDefinitionLocator);
    } else {
      return new SerializedFlowExecutionSnapshotFactory(executionFactory, flowDefinitionLocator);
    }
  }
View Full Code Here

    FlowExecutionSnapshotFactory factory = null;
    if (this.maxFlowExecutionSnapshots != null && this.maxFlowExecutionSnapshots == 0) {
      factory = new SimpleFlowExecutionSnapshotFactory(executionFactory, this.flowRegistry);
    }
    else {
      factory = new SerializedFlowExecutionSnapshotFactory(executionFactory, this.flowRegistry);
    }
    return factory;
  }
View Full Code Here

TOP

Related Classes of org.springframework.webflow.execution.repository.snapshot.SerializedFlowExecutionSnapshotFactory

Copyright © 2018 www.massapicom. 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.