19 lines
1.2 KiB
XML
19 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!-- 查找最新的schemaLocation 访问 http://www.springframework.org/schema/ -->
|
||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
||
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd">
|
||
|
||
<!--<bean class="org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor"/>-->
|
||
|
||
<!-- 配置扫描路径 -->
|
||
<!--<context:component-scan base-package="me.ehlxr.springamq">-->
|
||
<!-- 只扫描Service,也可以添加Repostory,但是要把Controller排除在外,Controller由spring-mvc.xml去加载 -->
|
||
<!-- <context:include-filter type="annotation" expression="org.springframework.stereotype.Service" /> -->
|
||
<!-- <context:include-filter type="annotation" expression="org.springframework.stereotype.Repository" /> -->
|
||
<!-- <context:include-filter type="annotation" expression="org.springframework.stereotype.Component" /> -->
|
||
<!--<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller"/>-->
|
||
<!--</context:component-scan>-->
|
||
|
||
</beans> |