Showing
1 changed file
with
2 additions
and
4 deletions
@@ -12,14 +12,12 @@ | @@ -12,14 +12,12 @@ | ||
12 | <!-- see java based configuration file --> | 12 | <!-- see java based configuration file --> |
13 | 13 | ||
14 | <context:component-scan base-package="com.yoho.search.consumer.*" /> | 14 | <context:component-scan base-package="com.yoho.search.consumer.*" /> |
15 | - <context:component-scan base-package="com.yoho.search.consumer.service.*" /> | ||
16 | - <context:component-scan base-package="com.yoho.search.core.message.config" /> | ||
17 | - | 15 | + <context:component-scan base-package="com.yoho.search.core.message.*" /> |
18 | 16 | ||
19 | <!-- 打开aop 注解 --> | 17 | <!-- 打开aop 注解 --> |
20 | <aop:aspectj-autoproxy proxy-target-class="true"/> | 18 | <aop:aspectj-autoproxy proxy-target-class="true"/> |
21 | 19 | ||
22 | - <bean id="searchConfigServerPropertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> | 20 | + <bean id="searchPropertyPlaceholderConfigurer" class="com.yoho.search.base.beans.SearchPropertyPlaceholderConfigurer"> |
23 | <property name="ignoreUnresolvablePlaceholders" value="true" /> | 21 | <property name="ignoreUnresolvablePlaceholders" value="true" /> |
24 | <property name="locations"> | 22 | <property name="locations"> |
25 | <list> | 23 | <list> |
-
Please register or login to post a comment