Package org.springframework.webflow.engine.model.builder.xml

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


    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

Related Classes of org.springframework.webflow.engine.model.builder.xml.XmlFlowModelBuilder

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.