1
0

spring-context.xml 1.2 KB

123456789101112131415161718192021222324
  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:context="http://www.springframework.org/schema/context"
  5. xmlns:aop="http://www.springframework.org/schema/aop"
  6. xmlns:mvc="http://www.springframework.org/schema/mvc"
  7. xsi:schemaLocation="
  8. http://www.springframework.org/schema/beans
  9. http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
  10. http://www.springframework.org/schema/context
  11. http://www.springframework.org/schema/context/spring-context-4.2.xsd
  12. http://www.springframework.org/schema/aop
  13. http://www.springframework.org/schema/aop/spring-aop-4.2.xsd
  14. http://www.springframework.org/schema/mvc
  15. http://www.springframework.org/schema/mvc/spring-mvc-4.2.xsd">
  16. <import resource="spring-main.xml"/>
  17. <context:component-scan base-package="com.kmall.admin.**, com.kmall.api.**, com.kmall.manager.**, com.kmall.common.**, com.kmall.gen.**">
  18. <context:exclude-filter type="aspectj" expression="com.kmall.admin.controller.**"/>
  19. <context:exclude-filter type="aspectj" expression="com.kmall.admin.websocket.**"/>
  20. </context:component-scan>
  21. </beans>