Examples of XmlFlowModelBuilder


Examples of org.springframework.webflow.engine.model.builder.xml.XmlFlowModelBuilder

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

Examples of org.springframework.webflow.engine.model.builder.xml.XmlFlowModelBuilder

    return modelHolder;
  }

  private FlowModelBuilder createFlowModelBuilder(FlowDefinitionResource resource) {
    if (isXml(resource.getPath())) {
      return new XmlFlowModelBuilder(resource.getPath(), flowRegistry.getFlowModelRegistry());
    } else {
      throw new IllegalArgumentException(resource
          + " is not a supported resource type; supported types are [.xml]");
    }
  }
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.