本文整理了Java中org.springframework.webflow.engine.Flow.create()
方法的一些代码示例,展示了Flow.create()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Flow.create()
方法的具体详情如下:
包路径:org.springframework.webflow.engine.Flow
类名称:Flow
方法名:create
[英]Create a new flow with the given id and attributes.
[中]创建具有给定id和属性的新流。
代码示例来源:origin: org.springframework.webflow/spring-webflow
/**
* Factory method that creates a new {@link Flow} definition object.
* <p>
* Note this method does not return a fully configured Flow instance, it only encapsulates the selection of
* implementation. A {@link FlowAssembler} delegating to a calling {@link FlowBuilder} is expected to assemble the
* Flow fully before returning it to external clients.
* @param id the flow identifier, should be unique to all flows in an application (required)
* @param attributes attributes to assign to the Flow, which may also be used to affect flow construction; may be
* null
* @return the initial flow instance, ready for assembly by a FlowBuilder
*/
public Flow createFlow(String id, AttributeMap<?> attributes) {
return Flow.create(id, attributes);
}
代码示例来源:origin: org.springframework.webflow/org.springframework.webflow
/**
* Factory method that creates a new {@link Flow} definition object.
* <p>
* Note this method does not return a fully configured Flow instance, it only encapsulates the selection of
* implementation. A {@link FlowAssembler} delegating to a calling {@link FlowBuilder} is expected to assemble the
* Flow fully before returning it to external clients.
* @param id the flow identifier, should be unique to all flows in an application (required)
* @param attributes attributes to assign to the Flow, which may also be used to affect flow construction; may be
* null
* @return the initial flow instance, ready for assembly by a FlowBuilder
*/
public Flow createFlow(String id, AttributeMap attributes) {
return Flow.create(id, attributes);
}
代码示例来源:origin: spring-projects/spring-webflow
/**
* Factory method that creates a new {@link Flow} definition object.
* <p>
* Note this method does not return a fully configured Flow instance, it only encapsulates the selection of
* implementation. A {@link FlowAssembler} delegating to a calling {@link FlowBuilder} is expected to assemble the
* Flow fully before returning it to external clients.
* @param id the flow identifier, should be unique to all flows in an application (required)
* @param attributes attributes to assign to the Flow, which may also be used to affect flow construction; may be
* null
* @return the initial flow instance, ready for assembly by a FlowBuilder
*/
public Flow createFlow(String id, AttributeMap<?> attributes) {
return Flow.create(id, attributes);
}
代码示例来源:origin: spring-projects/spring-webflow
public Flow createFlow() throws FlowBuilderException {
return Flow.create(getContext().getFlowId(), getContext().getFlowAttributes());
}
};
代码示例来源:origin: spring-projects/spring-webflow
protected Flow createFlow() {
return Flow.create(getContext().getFlowId(), getContext().getFlowAttributes());
}
内容来源于网络,如有侵权,请联系作者删除!