|
@@ -0,0 +1,69 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<beans xmlns="http://www.springframework.org/schema/beans"
|
|
|
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
|
|
|
+ xmlns:aop="http://www.springframework.org/schema/aop" xmlns:p="http://www.springframework.org/schema/p"
|
|
|
+ xsi:schemaLocation="http://www.springframework.org/schema/beans
|
|
|
+ http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
|
|
+ http://www.springframework.org/schema/context
|
|
|
+ http://www.springframework.org/schema/context/spring-context-3.0.xsd
|
|
|
+ http://www.springframework.org/schema/aop
|
|
|
+ http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
|
|
|
+ <bean id="workflowDS" class="com.xt.js.gkaq.web.system.DataSourceFactory" init-method="init" destroy-method="close">
|
|
|
+ <property name="properties" value="classpath:/spring/workflowDS.properties" />
|
|
|
+ <property name="dsType" value="com.alibaba.druid.pool.DruidDataSource"></property>
|
|
|
+ </bean>
|
|
|
+ <bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
|
|
|
+ <property name="dataSource" ref="workflowDS" />
|
|
|
+ <property name="transactionManager" ref="transactionManager" />
|
|
|
+ <property name="databaseSchemaUpdate" value="" />
|
|
|
+ <property name="jobExecutorActivate" value="false" />
|
|
|
+ <property name="history" value="full" />
|
|
|
+ <property name="deploymentResources">
|
|
|
+ <list>
|
|
|
+ <!--
|
|
|
+ <value>classpath*:/deployments/*</value>
|
|
|
+ <value>classpath*:/deployments/bgzysbsp-city.*</value>
|
|
|
+ <value>classpath*:/deployments/qxzysbsp-city.*</value>
|
|
|
+ <value>classpath*:/deployments/autoAudit.*</value>
|
|
|
+ <value>classpath*:/deployments/jyrUser.*</value>
|
|
|
+ <value>classpath*:/deployments/aqyssc-*</value>
|
|
|
+ <value>classpath*:/deployments/jsxmaqtjsc-*</value>
|
|
|
+ <value>classpath*:/deployments/whzyfzsq-city.*</value>
|
|
|
+ <value>classpath*:/deployments/aqsszxyssc-city.*</value>
|
|
|
+ <value>classpath*:/deployments/aqpjbgjzgfa-city.*</value>
|
|
|
+ <value>classpath*:/deployments/aqpjjgba-*</value>
|
|
|
+ <value>classpath*:/deployments/jdhxpyjzdwxy-city.*</value>
|
|
|
+ <value>classpath*:/deployments/yjyaba-city.*</value>
|
|
|
+ <value>classpath*:/deployments/zdsgyhpc-city.*</value>
|
|
|
+ <value>classpath*:/deployments/zysbsp-city.*</value>
|
|
|
+ <value>classpath*:/deployments/jdjc.*</value>
|
|
|
+ -->
|
|
|
+ </list>
|
|
|
+ </property>
|
|
|
+ <property name="customSessionFactories">
|
|
|
+ <list>
|
|
|
+ <bean class="com.xt.js.gkaq.frame.wf.MyUserEntityManagerFactory" />
|
|
|
+ <bean class="com.xt.js.gkaq.frame.wf.MyGroupEntityManagerFactory"/>
|
|
|
+ </list>
|
|
|
+ </property>
|
|
|
+ </bean>
|
|
|
+ <bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean">
|
|
|
+ <property name="processEngineConfiguration" ref="processEngineConfiguration" />
|
|
|
+ </bean>
|
|
|
+
|
|
|
+ <bean id="repositoryService" factory-bean="processEngine"
|
|
|
+ factory-method="getRepositoryService" />
|
|
|
+ <bean id="runtimeService" factory-bean="processEngine"
|
|
|
+ factory-method="getRuntimeService" />
|
|
|
+ <bean id="formService" factory-bean="processEngine"
|
|
|
+ factory-method="getFormService" />
|
|
|
+ <bean id="identityService" factory-bean="processEngine"
|
|
|
+ factory-method="getIdentityService" />
|
|
|
+ <bean id="taskService" factory-bean="processEngine"
|
|
|
+ factory-method="getTaskService" />
|
|
|
+ <bean id="historyService" factory-bean="processEngine"
|
|
|
+ factory-method="getHistoryService" />
|
|
|
+ <bean id="managementService" factory-bean="processEngine"
|
|
|
+ factory-method="getManagementService" />
|
|
|
+
|
|
|
+</beans>
|