多单位版国产化地质资料管理系统
zs
2026-02-04 fe02f176b512a9d6a4e12437d929e04e99bb7567
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
45
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
       http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans-4.3.xsd">
 
    <!-- 数据定义引擎工厂类及接口类 -->
    <bean id="dataDefinitionFactory"
        class="com.ruili.wcp.engine.datadefinition.DataDefinitionFactory"></bean>
    <bean id="iDataDefinition" factory-bean="dataDefinitionFactory"
        factory-method="GetDataDefinition"></bean>
 
    <!-- 视图解析引擎工厂类及接口类 -->
    <bean id="viewFactory" class="com.ruili.wcp.engine.view.ViewFactory"></bean>
    <bean id="iView" factory-bean="viewFactory" factory-method="GetView"></bean>
 
    <!-- 表单数据引擎工厂类及接口类 -->
    <bean id="formDataFactory" class="com.ruili.wcp.engine.form.FormDataFactory"></bean>
    <bean id="iFormData" factory-bean="formDataFactory"
        factory-method="GetFormData"></bean>
 
    <!-- 表单解析引擎处理类 -->
    <bean id="formParseHandler" class="com.ruili.wcp.engine.form.FormParseHandler"></bean>
 
    <!-- 全文索引构建类 -->
    <bean id="fulltextIndexBuilder" class="com.ruili.wcp.engine.EsFulltextIndexBuilderImpl"
        scope="prototype"></bean>
 
    <!-- 流程引擎 -->
    <bean id="processEngine" class="com.ruili.wcp.engine.flow.impl.ProcessEngineImpl"></bean>
    
    <!-- 流程引擎服务类 -->
    <bean id="repositoryService" factory-bean="processEngine"
        factory-method="getRepositoryService" />
    <bean id="runtimeService" factory-bean="processEngine"
        factory-method="getRuntimeService" />
    <bean id="historyService" factory-bean="processEngine"
        factory-method="getHistoryService" />
    <bean id="taskService" factory-bean="processEngine"
        factory-method="getTaskService" />
 
    <!-- Ocr处理器 -->
    <bean id="ocrProcessor" class="com.ruili.wcp.engine.TessearctOcrProcessorImpl"></bean>
</beans>