Flowable 6.6.0表单 - 1.配置 - 1.2 FormEngineConfiguration bean

Flowable 6.6.0 用户指南相关文档下载

1 表单配置(Configuration)

1.1创建一个表单引擎(Creating a Form Engine)
1.2 FormEngineConfiguration bean
1.3 插入流程引擎(Plug into Process Engine)
1.4 数据库配置(Database configuration)
1.5 JNDI数据源配置(JNDI Datasource Configuration)
1.6 数据库相关
1.7 部署缓存配置(Deployment cache configuration)
1.8 日志(Logging)

2.表单API

2.1 表单引擎API及服务
2.2 异常策略(Exception strategy)
2.3 查询API(Query API)
2.4 单元测试(Unit testing)
2.5 Web应用程序中的表单引擎(The Form engine in a web application)

3.Spring 集成

3.1 FormEngineFactoryBean
3.2 自动资源部署(Automatic resource deployment)
3.3 单元测试(Unit testing)

4 部署(Deployment)
5 表单简介(Form Introduction)
6 REST API
Flowable

Flowable 6.6.0表单用户指南(Forms User Guide)

1 配置(Configuration)

1.2 FormEngineConfiguration bean

The flowable.form.cfg.xml must contain a bean that has the id ‘formEngineConfiguration’.

这个flowable.form.cfg.xml必须包含id为“formEngineConfiguration”的bean。

 <bean id="formEngineConfiguration" 
    class="org.flowable.form.engine.impl.cfg.StandaloneFormEngineConfiguration">

This bean is then used to construct the FormEngine. There are multiple classes available that can be used to define the formEngineConfiguration. These classes represent different environments, and set defaults accordingly. It is a best practice to select the class that matches your environment the most, to minimize the number of properties needed to configure the engine. The following classes are currently available:

然后使用这个bean构造FormEngine。有多个可用类可用于定义formEngineConfiguration。这些类表示不同的环境,并相应地设置默认值。最佳做法是选择与您的环境最匹配的类,以最小化配置引擎所需的属性数。以下类别当前可用:

  • org.flowable.form.engine.impl.cfg.StandaloneFormEngineConfiguration: the process engine is used in a standalone way. Flowable will take care of the transactions. By default, the database will only be checked when the engine boots (and an exception is thrown if there is no Flowable Form schema or the schema version is incorrect).
  • org.flowable.form.engine.impl.cfg.StandaloneInMemFormEngineConfiguration: this is a convenience class for unit testing purposes. Flowable Form will take care of the transactions. An H2 in-memory database is used by default. The database will be created and dropped when the engine boots and shuts down. When using this, probably no additional configuration is needed).
  • org.flowable.form.spring.SpringFormEngineConfiguration: To be used when the Form engine is used in a Spring environment. See the Spring integration section for more information.
  • org.flowable.form.engine.impl.cfg.StandaloneFormEngineConfiguration:以独立方式使用流程引擎。Flowable将负责处理事务。默认情况下,只有在引擎启动时才会检查数据库(如果没有Flowable Form schema或schema版本不正确,则会引发异常)。
  • org.flowable.form.engine.impl.cfg.StandaloneInMemFormEngineConfiguration:这是方便用于单元测试的类。Flowable Form将处理事务。默认情况下使用H2内存数据库。当引擎启动和关闭时,将创建并删除数据库。当使用这个时,可能不需要额外的配置)。
  • org.flowable.form.engine.impl.cfg.StandaloneFormEngineConfiguration:在Spring环境中使用表单引擎时使用。有关更多信息,请参见Spring集成部分(the Spring integration section)。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

月满闲庭

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值