Package org.springframework.webflow.engine.builder

Examples of org.springframework.webflow.engine.builder.DefaultFlowHolder


  private FlowDefinitionHolder createFlowDefinitionHolder(FlowDefinitionResource flowResource) {
    FlowBuilder builder = createFlowBuilder(flowResource);
    FlowBuilderContext builderContext = new FlowBuilderContextImpl(flowResource.getId(), flowResource
        .getAttributes(), flowRegistry, flowBuilderServices);
    FlowAssembler assembler = new FlowAssembler(builder, builderContext);
    return new DefaultFlowHolder(assembler);
  }
View Full Code Here


  private FlowDefinitionHolder createFlowDefinitionHolder(FlowDefinitionResource flowResource) {
    FlowBuilder builder = createFlowBuilder(flowResource);
    FlowBuilderContext builderContext = new FlowBuilderContextImpl(flowResource.getId(),
        flowResource.getAttributes(), flowRegistry, flowBuilderServices);
    FlowAssembler assembler = new FlowAssembler(builder, builderContext);
    return new DefaultFlowHolder(assembler);
  }
View Full Code Here

    FlowModelHolder flowModelHolder = new DefaultFlowModelHolder(flowModelBuilder);
    FlowBuilder flowBuilder = new FlowModelFlowBuilder(flowModelHolder);
    FlowBuilderContext builderContext = new FlowBuilderContextImpl(
        resource.getId(), resource.getAttributes(), flowRegistry, this.flowBuilderServices);
    FlowAssembler assembler = new FlowAssembler(flowBuilder, builderContext);
    DefaultFlowHolder flowHolder = new DefaultFlowHolder(assembler);

    flowRegistry.getFlowModelRegistry().registerFlowModel(resource.getId(), flowModelHolder);
    flowRegistry.registerFlowDefinition(flowHolder);
  }
View Full Code Here

TOP

Related Classes of org.springframework.webflow.engine.builder.DefaultFlowHolder

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.