applicationContext.xml 1.2 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"
  4. xmlns:p="http://www.springframework.org/schema/p"
  5. xmlns:context="http://www.springframework.org/schema/context"
  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. default-lazy-init="false" default-autowire="byName">
  11. <context:annotation-config/>
  12. <bean class="com.gyee.util.BeanFactoryUtils" autowire="no"/>
  13. <import resource="context.xml"/>
  14. <import resource="job.xml"/>
  15. <import resource="thread.xml"/>
  16. <context:component-scan base-package="com.gyee">
  17. <context:include-filter type="regex" expression=".service.*"/>
  18. <context:include-filter type="regex" expression=".dao.*"/>
  19. <context:include-filter type="regex" expression=".intial.*"/>
  20. <context:include-filter type="regex" expression=".util.*"/>
  21. <context:include-filter type="regex" expression=".util.edos.*"/>
  22. <context:include-filter type="regex" expression=".test.*"/>
  23. </context:component-scan>
  24. </beans>