Examples of FlowDefinitionResource


Examples of org.springframework.webflow.config.FlowDefinitionResource

  private void registerDependentFlowModels() {
    FlowDefinitionResource[] modelResources = getModelResources(getResourceFactory());
    if (modelResources != null) {
      for (int i = 0; i < modelResources.length; i++) {
        FlowDefinitionResource modelResource = modelResources[i];
        FlowModelBuilder modelBuilder = new XmlFlowModelBuilder(modelResource.getPath(), flowModelRegistry);
        flowModelRegistry.registerFlowModel(modelResource.getId(), new DefaultFlowModelHolder(modelBuilder));
      }
    }
  }
View Full Code Here

Examples of org.springframework.webflow.config.FlowDefinitionResource

   * the "main" flow to test. May also be called by subclasses to create subflow definitions whose executions should
   * also be exercised by this test.
   * @return the built flow definition, ready for execution
   */
  protected final Flow buildFlow() {
    FlowDefinitionResource resource = getResource(getResourceFactory());
    flowBuilderContext = new MockFlowBuilderContext(resource.getId(), resource.getAttributes());
    configureFlowBuilderContext(flowBuilderContext);
    FlowBuilder builder = createFlowBuilder(resource);
    FlowAssembler assembler = new FlowAssembler(builder, flowBuilderContext);
    return assembler.assembleFlow();
  }
View Full Code Here

Examples of org.springframework.webflow.config.FlowDefinitionResource

   * the "main" flow to test. May also be called by subclasses to create subflow definitions whose executions should
   * also be exercised by this test.
   * @return the built flow definition, ready for execution
   */
  protected final Flow buildFlow() {
    FlowDefinitionResource resource = getResource(getResourceFactory());
    flowBuilderContext = new MockFlowBuilderContext(resource.getId(), resource.getAttributes());
    configureFlowBuilderContext(flowBuilderContext);
    FlowBuilder builder = createFlowBuilder(resource);
    FlowAssembler assembler = new FlowAssembler(builder, flowBuilderContext);
    return assembler.assembleFlow();
  }
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.