applicationContext.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. </list>
  23. </property>
  24. </bean>
  25. <bean id="applicationSetting1" class="com.leanwo.management.model.ApplicationSetting">
  26. <property name="name" value="Prodog服务程序"></property>
  27. <property name="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  28. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  29. </bean>
  30. <bean id="applicationSetting2" class="com.leanwo.management.model.ApplicationSetting">
  31. <property name="name" value="报表服务程序"></property>
  32. <property name="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  33. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  34. </bean>
  35. <bean id="applicationSetting3" class="com.leanwo.management.model.ApplicationSetting">
  36. <property name="name" value="工作流服务程序"></property>
  37. <property name="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  38. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  39. </bean>
  40. <bean id="applicationSetting4" class="com.leanwo.management.model.ApplicationSetting">
  41. <property name="name" value="钉钉服务程序"></property>
  42. <property name="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  43. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  44. </bean>
  45. <bean id="applicationSetting5" 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. </bean>
  50. <bean id="applicationSetting6" class="com.leanwo.management.model.ApplicationSetting">
  51. <property name="name" value="中间件程序"></property>
  52. <property name="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  53. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  54. </bean>
  55. <bean id="applicationSetting7" class="com.leanwo.management.model.ApplicationSetting">
  56. <property name="name" value="抓拍程序"></property>
  57. <property name="startBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\start.bat"></property>
  58. <property name="stopBatFile" value="C:\Users\YangZhiJie\Desktop\Servers\DingTalk_Server_20171212\stop.bat"></property>
  59. </bean>
  60. <bean id="springUtil" class="org.leanwo.management.util.SpringUtil" />
  61. </beans>