example-scan

This commit is contained in:
jinyu
2016-04-11 20:48:20 +08:00
parent 525246212b
commit ed0c7161cf
8 changed files with 36 additions and 7 deletions
@@ -1,12 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.1.xsd
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.1.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.1.xsd">
<!-- 微信接口代理~start -->
@@ -99,4 +96,8 @@
value="com.foximy.weixin4j.example.server.handler" />
</bean>
<!-- 微信消息服务~end -->
<!-- spring扫描策略~start -->
<context:component-scan base-package="com.foximy.weixin4j.example.server.handler" />
<!-- spring扫描策略~end -->
</beans>