applicationContext-workflow.xml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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/bgzysbsp-city.*</value>
  22. <value>classpath*:/deployments/qxzysbsp-city.*</value>
  23. <value>classpath*:/deployments/autoAudit.*</value>
  24. <value>classpath*:/deployments/jyrUser.*</value>
  25. <value>classpath*:/deployments/aqyssc-*</value>
  26. <value>classpath*:/deployments/jsxmaqtjsc-*</value>
  27. <value>classpath*:/deployments/whzyfzsq-city.*</value>
  28. <value>classpath*:/deployments/aqsszxyssc-city.*</value>
  29. <value>classpath*:/deployments/aqpjbgjzgfa-city.*</value>
  30. <value>classpath*:/deployments/aqpjjgba-*</value>
  31. <value>classpath*:/deployments/jdhxpyjzdwxy-city.*</value>
  32. <value>classpath*:/deployments/yjyaba-city.*</value>
  33. <value>classpath*:/deployments/zdsgyhpc-city.*</value>
  34. <value>classpath*:/deployments/zysbsp-city.*</value>
  35. <value>classpath*:/deployments/jdjc.*</value>
  36. <value>classpath*:/deployments/zc.*</value>
  37. -->
  38. </list>
  39. </property>
  40. <property name="customSessionFactories">
  41. <list>
  42. <bean class="com.jtgh.yjpt.workflow.MyUserEntityManagerFactory" />
  43. <bean class="com.jtgh.yjpt.workflow.MyGroupEntityManagerFactory"/>
  44. </list>
  45. </property>
  46. </bean>
  47. <bean id="processEngine" class="org.activiti.spring.ProcessEngineFactoryBean">
  48. <property name="processEngineConfiguration" ref="processEngineConfiguration" />
  49. </bean>
  50. <bean id="repositoryService" factory-bean="processEngine"
  51. factory-method="getRepositoryService" />
  52. <bean id="runtimeService" factory-bean="processEngine"
  53. factory-method="getRuntimeService" />
  54. <bean id="formService" factory-bean="processEngine"
  55. factory-method="getFormService" />
  56. <bean id="identityService" factory-bean="processEngine"
  57. factory-method="getIdentityService" />
  58. <bean id="taskService" factory-bean="processEngine"
  59. factory-method="getTaskService" />
  60. <bean id="historyService" factory-bean="processEngine"
  61. factory-method="getHistoryService" />
  62. <bean id="managementService" factory-bean="processEngine"
  63. factory-method="getManagementService" />
  64. <bean id="configService" class="com.jtgh.yjpt.service.impl.auth.ConfigServiceImpl"
  65. scope="singleton">
  66. </bean>
  67. </beans>