applicationContext.xml 1.1 KB

1234567891011121314151617181920212223242526
  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:p="http://www.springframework.org/schema/p"
  4. xmlns:context="http://www.springframework.org/schema/context"
  5. xmlns:task="http://www.springframework.org/schema/task"
  6. xsi:schemaLocation="http://www.springframework.org/schema/beans
  7. http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  8. http://www.springframework.org/schema/context
  9. http://www.springframework.org/schema/context/spring-context-3.0.xsd
  10. http://www.springframework.org/schema/task
  11. http://www.springframework.org/schema/task/spring-task-3.0.xsd"
  12. default-lazy-init="false" default-autowire="byName">
  13. <context:annotation-config />
  14. <bean class="com.gyee.util.BeanFactoryUtils" autowire="no" />
  15. <!--<import resource="context.xml"/> -->
  16. <import resource="job.xml" />
  17. <import resource="context.xml" />
  18. <import resource="context2.xml" />
  19. <task:annotation-driven scheduler="qbScheduler"
  20. mode="proxy" />
  21. <task:scheduler id="qbScheduler" pool-size="10" />
  22. <context:component-scan base-package="com.gyee" />
  23. </beans>