xm
2024-06-14 722af26bc6fec32bb289b1df51a9016a4935610f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package com.dl.flowable.factory;
 
import lombok.Getter;
import org.flowable.engine.*;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
 
import javax.annotation.Resource;
 
/**
 * flowable 引擎注入封装
 * @author XuanXuan
 * @date 2021-04-03
 */
@Component
@Getter
public class FlowServiceFactory {
 
    @Resource
    protected RepositoryService repositoryService;
 
    @Resource
    protected RuntimeService runtimeService;
 
    @Resource
    protected IdentityService identityService;
 
    @Resource
    protected TaskService taskService;
 
    @Resource
    protected FormService formService;
 
    @Resource
    protected HistoryService historyService;
 
    @Resource
    protected ManagementService managementService;
 
    @Qualifier("processEngine")
    @Resource
    protected ProcessEngine processEngine;
 
}