增加单页服务提供者和消费者配置

This commit is contained in:
shuzheng 2017-03-18 19:53:56 +08:00
parent bf2b1904cb
commit 13b5ca7d57
2 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,8 @@
<dubbo:reference id="cmsTopicService" interface="com.zheng.cms.rpc.api.CmsTopicService" mock="true"/>
<!-- 菜单 -->
<dubbo:reference id="cmsMenuService" interface="com.zheng.cms.rpc.api.CmsMenuService" mock="true"/>
<!-- 单页 -->
<dubbo:reference id="cmsPageService" interface="com.zheng.cms.rpc.api.CmsPageService" mock="true"/>
<!-- 用户 -->
<dubbo:reference id="userService" interface="com.zheng.cms.rpc.api.UserService" mock="true"/>

View File

@ -37,6 +37,10 @@
<bean id="cmsMenuImpl" class="com.zheng.cms.rpc.service.impl.CmsMenuServiceImpl"/>
<dubbo:service interface="com.zheng.cms.rpc.api.CmsMenuService" ref="cmsMenuImpl" timeout="10000"/>
<!-- 单页 -->
<bean id="cmsPageImpl" class="com.zheng.cms.rpc.service.impl.CmsPageServiceImpl"/>
<dubbo:service interface="com.zheng.cms.rpc.api.CmsPageService" ref="cmsPageImpl" timeout="10000"/>
<!-- 用户 -->
<bean id="userServiceImpl" class="com.zheng.cms.rpc.service.impl.UserServiceImpl"/>
<dubbo:service interface="com.zheng.cms.rpc.api.UserService" ref="userServiceImpl" timeout="10000"/>