applicationContext-workflow.xml 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
  4. xmlns:aop="http://www.springframework.org/schema/aop" xmlns:p="http://www.springframework.org/schema/p"
  5. xsi:schemaLocation="http://www.springframework.org/schema/beans
  6. http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  7. http://www.springframework.org/schema/context
  8. http://www.springframework.org/schema/context/spring-context-3.0.xsd
  9. http://www.springframework.org/schema/aop
  10. http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">
  11. <bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
  12. <property name="dataSource" ref="dataSource" />
  13. <property name="transactionManager" ref="transactionManager" />
  14. <property name="databaseSchemaUpdate" value="" />
  15. <property name="jobExecutorActivate" value="false" />
  16. <property name="history" value="full" />
  17. <property name="deploymentResources">
  18. <list>
  19. <!--
  20. <value>classpath*:/deployments/*</value>
  21. <value>classpath*:/deployments/jdjc.*</value>
  22. <value>classpath*:/deployments/bgzysbsp-city.*</value>
  23. <value>classpath*:/deployments/qxzysbsp-city.*</value>
  24. <value>classpath*:/deployments/autoAudit.*</value>
  25. <value>classpath*:/deployments/jyrUser.*</value>
  26. <value>classpath*:/deployments/aqyssc-*</value>
  27. <value>classpath*:/deployments/jsxmaqtjsc-*</value>
  28. <value>classpath*:/deployments/whzyfzsq-city.*</value>
  29. <value>classpath*:/deployments/aqsszxyssc-city.*</value>
  30. <value>classpath*:/deployments/aqpjbgjzgfa-city.*</value>
  31. <value>classpath*:/deployments/aqpjjgba-*</value>
  32. <value>classpath*:/deployments/jdhxpyjzdwxy-city.*</value>
  33. <value>classpath*:/deployments/yjyaba-city.*</value>
  34. <value>classpath*:/deployments/zdsgyhpc-city.*</value>
  35. <value>classpath*:/deployments/zysbsp-city.*</value>
  36. -->
  37. </list>
  38. </property>
  39. <property name="customSessionFactories">
  40. <list>
  41. <bean class="com.jtgh.yjpt.workflow.MyUserEntityManagerFactory" />
  42. <bean class="com.jtgh.yjpt.workflow.MyGroupEntityManagerFactory"/>
  43. </list>
  44. </property>
  45. </bean>
  46. <bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean">
  47. <property name="processEngineConfiguration" ref="processEngineConfiguration" />
  48. </bean>
  49. <bean id="repositoryService" factory-bean="processEngine"
  50. factory-method="getRepositoryService" />
  51. <bean id="runtimeService" factory-bean="processEngine"
  52. factory-method="getRuntimeService" />
  53. <bean id="formService" factory-bean="processEngine"
  54. factory-method="getFormService" />
  55. <bean id="identityService" factory-bean="processEngine"
  56. factory-method="getIdentityService" />
  57. <bean id="taskService" factory-bean="processEngine"
  58. factory-method="getTaskService" />
  59. <bean id="historyService" factory-bean="processEngine"
  60. factory-method="getHistoryService" />
  61. <bean id="managementService" factory-bean="processEngine"
  62. factory-method="getManagementService" />
  63. <bean id="configService" class="com.jtgh.yjpt.service.impl.auth.ConfigServiceImpl"
  64. scope="singleton">
  65. </bean>
  66. </beans>