Activiti Service介绍
原文地址:https://www.cnblogs.com/lyh421/p/6419518.html
第一章 认识Activiti
内容概览:讲解activiti的特点、接口概览、架构等基本信息。
1.3 Activiti的特点
1.使用mybatis
2.原生支持spring,可以轻松集成spring
3.引擎的Service接口
Activiti引擎提供了7大Service接口,均通过processEngine获取,支持链式API风格。
| Service接口 | 作用 |
| RepositoryService | 流程仓库服务,管理流程仓库,比如部署、删除、读取流程资源 |
| IdentityService | 身份服务,管理用户、组及其关系 |
| RuntimeService | 运行服务,处理所有正在运行态的流程实例、任务等。 |
| TaskService | 任务服务,管理(签收、办理、指派等)、查询任务。 |
| FormService | 表单服务,读取和流程、任务相关的表单数据 |
| HistoryService | 历史服务,管理所有历史数据 |
| ManagementService | 引擎管理服务,和具体业务无关,管理引擎。 |

获取服务的方式
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
//获取RuntimeService服务
RuntimeService runtimeService = processEngine.getRuntimeService();
//获取RepositoryService 服务
RepositoryService repositoryService = processEngine.getRepositoryService();
//获取TaskService 服务
TaskService taskService = processEngine.getTaskService();
//获取ManagementService 服务
ManagementService managementService = processEngine.getManagementService();
//获取IdentityService 服务
IdentityService identityService = processEngine.getIdentityService();
//获取HistoryService 服务
HistoryService historyService = processEngine.getHistoryService();
FormService formService = processEngine.getFormService();
4.流程设计器
Eclipse插件:Eclipse Designer
web:Activiti Modeler
5.分离runtime和history数据
1.5 Activiti架构与组件
Activiti Service介绍的更多相关文章
- Service介绍(MediaPlayer应用)
一.Service介绍 Service类似于Windows中的服务,没有界面,只是在后台运行:而服务不能自己运行,而是需要调用Context.startService(Intent intent);或 ...
- Android Service总结02 service介绍
Android Service总结02 service介绍 版本 版本说明 发布时间 发布人 V1.0 介绍了Service的种类,常用API,生命周期等内容. 2013-03-16 Skywang ...
- 二十三、Pod的service介绍
Pod 的 Service 介绍 一.Service 介绍 Kubernetes Service 定义了这样一种抽象: 一个 Pod 的逻辑分组,一种可以访问它们的策略,通常称为微服务. 这一组 Po ...
- SOA和Web Service介绍
博客园中关于SOA和Web Service的介绍 http://www.cnblogs.com/talentbuilder/archive/2010/05/04/1727044.html http:/ ...
- activiti 表——介绍
Activiti 用到的表都是act_开头 下面分别来介绍下 activiti 所用到的表: Act_RE_* 表示 RepositoryService接口所操作的表:包含了流程定义信息 .流程静态资 ...
- android Service介绍
一.简介 android中service(服务)运行于后台,没有界面.和其他组件一样,service也运行在主线程中,因此不能用它来做耗时的请求或者动作.可以在服务中开启线程,在线程中做耗时操作.可以 ...
- Android service介绍和启动方式
1.Android service的作用: service通常是用来处理一些耗时操作,或后台执行不提供用户交互界面的操作,例如:下载.播放音乐. 2.Android service的生命周期: ser ...
- web service介绍
WEB SEVICE平台 web Service 三种基本元素: SOAP .WSDL .UDDI 什么是SOAP: XML+HTTP 基本的Web Service平台 SOAP 简易对象 ...
- ODI中web service介绍
ODI WS架构
随机推荐
- appium报错:An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: read ECONNRESET
Appium Desktop版本:1.9.0 xcode版本:9.4.1 测试机:iPhone7 11.3系统 问题描述:在xcode上的produc的text运行是可以将WebDriverAgen ...
- Java trycatch使用重试Retryer
重试的工具类 Guava-retrying 依赖 <!-- https://mvnrepository.com/artifact/com.github.rholder/guava-retryin ...
- 输入一个表示整数的字符串,把该字符串转换成整数并输出(实现atoi函数功能)
例如输入字符串"345",则输出整数345.-----------------------------此题一点也不简单.不信,你就先不看一下的代码,你自己先写一份,然后再对比一下, ...
- win10 系统运行加速方法
win10系统就是不太好用,很多功能我们硬件跟不上,会拖累系统运行速度,之前将win10优化了一部点,但是有些地方反而降低运行速度,因此需要关闭:1.磁盘的优化,这个说实话,可以自己来优化,没必要时刻 ...
- react native iOS真机调试-联网问题与js严格模式
rn:strict mode does not allow function declarations in a lexically nested statement https://blog.csd ...
- There is no type initializer in Swift----One answer is to use static, it is the same as class final.
“Unlike stored instance properties, you must always give stored type properties a default value. Thi ...
- 排序算法-选择排序(Java)
package com.rao.linkList; import java.util.Arrays; /** * @author Srao * @className SelectSort * @dat ...
- 20-2 树莓派搭建服务器 Tornado Web服务器
Drive.google.com/drive/folders/1ahbeoEHkjxoo4NV1wReOmpoRWbl448z- 1.Tornado简介 Tornado一款使用 Python 编写的, ...
- 进阶blog整理
https://blog.csdn.net/zhangerqing https://bbs.csdn.net/topics/310072893 SCJP
- BZOJ 1801: [Ahoi2009]中国象棋
题目描述 //每行每列最多放两个,可以讨论第i-1行到第i行的每一种情况 #include<complex> #include<cstdio> using namespace ...