applicationContext.xml 1.5 KB

12345678910111213141516171819202122232425262728293031
  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"
  4. xsi:schemaLocation="http://www.springframework.org/schema/beans
  5. http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
  6. <!-- 加载配置application.properties-->
  7. <bean id="propertyConfigure"
  8. class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
  9. <property name="locations" value="classpath:applicationContext.properties"/>
  10. </bean>
  11. <!-- 引入DB数据源 -->
  12. <import resource="classpath:/dataSource.xml"/>
  13. <!-- 引入mongo数据源 -->
  14. <!-- <import resource="classpath:/applicationContext-mongo.xml"/> -->
  15. <!-- 引入业务核心域 -->
  16. <!-- 引入业务集成域 -->
  17. <import resource="classpath:/applicationContext-service.xml"/>
  18. <!-- 引入spring动作跳转 -->
  19. <import resource="classpath:/applicationContext-web.xml"/>
  20. <!-- 引入系统级切面 -->
  21. <import resource="classpath:/applicationContext-aop.xml"/>
  22. <!-- 引入系统线程池 -->
  23. <import resource="classpath:/applicationContext-thread.xml"/>
  24. <!-- 引入客服rabbitmq -->
  25. <!--<import resource="classpath:/applicationContext-rabbitmq.xml"/>-->
  26. <!--<import resource="classpath:/applicationContext-rabbitmq-consumer.xml"/>-->
  27. <!--<import resource="classpath:/applicationContext-rabbitmq-producer.xml"/>-->
  28. <!-- 引入dubbo -->
  29. <import resource="classpath:/applicationContext-dubbo-provider.xml"/>
  30. </beans>