增加服务提供者配置

This commit is contained in:
shuzheng 2017-03-18 18:36:28 +08:00
parent 4eb2d01e34
commit ecbef68ec0
1 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,14 @@
<bean id="cmsTagServiceImpl" class="com.zheng.cms.rpc.service.impl.CmsTagServiceImpl"/>
<dubbo:service interface="com.zheng.cms.rpc.api.CmsTagService" ref="cmsTagServiceImpl" timeout="10000"/>
<!-- 专题 -->
<bean id="cmsTopicImpl" class="com.zheng.cms.rpc.service.impl.CmsTopicServiceImpl"/>
<dubbo:service interface="com.zheng.cms.rpc.api.CmsTopicService" ref="cmsTopicImpl" timeout="10000"/>
<!-- 菜单 -->
<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="userServiceImpl" class="com.zheng.cms.rpc.service.impl.UserServiceImpl"/>
<dubbo:service interface="com.zheng.cms.rpc.api.UserService" ref="userServiceImpl" timeout="10000"/>