applicationContext.xml 5.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  29. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  30. </bean>
  31. <bean id="applicationSetting2" class="com.leanwo.management.model.ApplicationSetting">
  32. <property name="name" value="报表服务程序"></property>
  33. <property name="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  34. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  35. <property name="monitorUrl" value="http://127.0.0.1:81/monitor"></property>
  36. <property name="token" value="123456"></property>
  37. </bean>
  38. <bean id="applicationSetting3" class="com.leanwo.management.model.ApplicationSetting">
  39. <property name="name" value="工作流服务程序"></property>
  40. <property name="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  41. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  42. <property name="monitorUrl" value="http://127.0.0.1:82/activiti/explorer/monitor"></property>
  43. <property name="token" value="123456"></property>
  44. </bean>
  45. <bean id="applicationSetting4" class="com.leanwo.management.model.ApplicationSetting">
  46. <property name="name" value="钉钉服务程序"></property>
  47. <property name="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  48. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  49. <property name="monitorUrl" value="http://127.0.0.1:83/monitor"></property>
  50. <property name="token" value="123456"></property>
  51. </bean>
  52. <bean id="applicationSetting5" class="com.leanwo.management.model.ApplicationSetting">
  53. <property name="name" value="微信服务程序"></property>
  54. <property name="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  55. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  56. <property name="monitorUrl" value="http://127.0.0.1:80/monitor"></property>
  57. <property name="token" value="123456"></property>
  58. </bean>
  59. <bean id="applicationSetting6" class="com.leanwo.management.model.ApplicationSetting">
  60. <property name="name" value="中间件程序"></property>
  61. <property name="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  62. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  63. </bean>
  64. <bean id="applicationSetting7" class="com.leanwo.management.model.ApplicationSetting">
  65. <property name="name" value="抓拍程序"></property>
  66. <property name="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  67. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  68. </bean>
  69. <bean id="applicationSetting8" class="com.leanwo.management.model.ApplicationSetting">
  70. <property name="name" value="文件服务程序"></property>
  71. <property name="startBatFile" value=""></property>
  72. <property name="stopBatFile" value=""></property>
  73. <property name="monitorUrl" value="http://127.0.0.1:85/api/monitor"></property>
  74. <property name="token" value="123456"></property>
  75. </bean>
  76. <bean id="springUtil" class="org.leanwo.management.util.SpringUtil" />
  77. </beans>