applicationContext.xml 5.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
  5. xsi:schemaLocation="
  6. http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
  7. http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd
  8. http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.3.xsd
  9. http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.3.xsd">
  10. <!-- 自动扫描 -->
  11. <context:component-scan base-package="com.leanwo" />
  12. <bean id="applicationSettingCache" class="com.leanwo.management.model.ApplicationSettingCache">
  13. <property name="settings">
  14. <list>
  15. <ref bean="applicationSetting1" />
  16. <ref bean="applicationSetting2" />
  17. <ref bean="applicationSetting3" />
  18. <ref bean="applicationSetting4" />
  19. <ref bean="applicationSetting5" />
  20. <ref bean="applicationSetting6" />
  21. <ref bean="applicationSetting7" />
  22. <ref bean="applicationSetting8" />
  23. </list>
  24. </property>
  25. </bean>
  26. <bean id="applicationSetting1" class="com.leanwo.management.model.ApplicationSetting">
  27. <property name="name" value="Prodog服务程序"></property>
  28. <property name="installPath" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171218"></property>
  29. <property name="startBatFile" value="start.bat"></property>
  30. <property name="stopBatFile" value="stop.bat"></property>
  31. </bean>
  32. <bean id="applicationSetting2" class="com.leanwo.management.model.ApplicationSetting">
  33. <property name="name" value="报表服务程序"></property>
  34. <property name="installPath" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171218"></property>
  35. <property name="startBatFile" value="start.bat"></property>
  36. <property name="stopBatFile" value="stop.bat"></property>
  37. <property name="monitorUrl" value="http://127.0.0.1:81/monitor"></property>
  38. <property name="token" value="123456"></property>
  39. </bean>
  40. <bean id="applicationSetting3" class="com.leanwo.management.model.ApplicationSetting">
  41. <property name="name" value="工作流服务程序"></property>
  42. <property name="installPath" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171218"></property>
  43. <property name="startBatFile" value="start.bat"></property>
  44. <property name="stopBatFile" value="stop.bat"></property>
  45. <property name="monitorUrl" value="http://127.0.0.1:82/activiti/explorer/monitor"></property>
  46. <property name="token" value="123456"></property>
  47. </bean>
  48. <bean id="applicationSetting4" class="com.leanwo.management.model.ApplicationSetting">
  49. <property name="name" value="钉钉服务程序"></property>
  50. <property name="installPath" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171218"></property>
  51. <property name="startBatFile" value="start.bat"></property>
  52. <property name="stopBatFile" value="stop.bat"></property>
  53. <property name="monitorUrl" value="http://127.0.0.1:83/monitor"></property>
  54. <property name="token" value="123456"></property>
  55. </bean>
  56. <bean id="applicationSetting5" class="com.leanwo.management.model.ApplicationSetting">
  57. <property name="name" value="微信服务程序"></property>
  58. <property name="installPath" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171218"></property>
  59. <property name="startBatFile" value="start.bat"></property>
  60. <property name="stopBatFile" value="stop.bat"></property>
  61. <property name="monitorUrl" value="http://127.0.0.1:80/monitor"></property>
  62. <property name="token" value="123456"></property>
  63. </bean>
  64. <bean id="applicationSetting6" class="com.leanwo.management.model.ApplicationSetting">
  65. <property name="name" value="中间件程序"></property>
  66. <property name="installPath" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171218"></property>
  67. <property name="startBatFile" value="start.bat"></property>
  68. <property name="stopBatFile" value="stop.bat"></property>
  69. </bean>
  70. <bean id="applicationSetting7" class="com.leanwo.management.model.ApplicationSetting">
  71. <property name="name" value="抓拍程序"></property>
  72. <property name="installPath" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171218"></property>
  73. <property name="startBatFile" value="start.bat"></property>
  74. <property name="stopBatFile" value="stop.bat"></property>
  75. </bean>
  76. <bean id="applicationSetting8" class="com.leanwo.management.model.ApplicationSetting">
  77. <property name="name" value="文件服务程序"></property>
  78. <property name="installPath" value=""></property>
  79. <property name="startBatFile" value=""></property>
  80. <property name="stopBatFile" value=""></property>
  81. <property name="monitorUrl" value="http://127.0.0.1:85/api/monitor"></property>
  82. <property name="token" value="123456"></property>
  83. </bean>
  84. <bean id="springUtil" class="org.leanwo.management.util.SpringUtil" />
  85. </beans>