【问题标题】:Dynamic webflow configuration动态网络流配置
【发布时间】:2012-06-11 17:43:11
【问题描述】:

有什么方法可以更新 webflow 配置并重新加载它以对动态 web 应用程序的流量产生影响?

【问题讨论】:

    标签: spring-webflow


    【解决方案1】:

    所以您希望 webflow 动态获取对您的流定义所做的更改? WebFlow 2 添加了对此的支持,在您的 flow-builder-services 中指定“development="true",如下所示:

    <flow:flow-builder-services id="flowBuilderServices"
                                    view-factory-creator="viewFactoryCreator"
                                    conversion-service="customConversionService"
                                    development="true"/>
    

    这是文档中的部分: http://static.springsource.org/spring-webflow/docs/2.3.x/reference/htmlsingle/spring-webflow-reference.html#flow-registry-builder-services

    开发: 将此设置为 true 以打开流开发模式。开发模式开启流定义更改的热重载,包括对依赖流资源(如消息包)的更改。

    【讨论】:

      【解决方案2】:

      如果你的意思是webflow配置流定义xml,你可以把它们放到WEB-INF文件夹中。在这里您可以更新它们,应用程序将使用实际版本。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2017-03-11
        • 2022-06-24
        • 2013-05-15
        • 2018-03-28
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多