1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?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:dubbo="http://code.alibabatech.com/schema/dubbo"
- xsi:schemaLocation="http://www.springframework.org/schema/beans
- http://www.springframework.org/schema/beans/spring-beans.xsd
- http://code.alibabatech.com/schema/dubbo
- http://code.alibabatech.com/schema/dubbo/dubbo.xsd ">
- <!-- 消费方应用名,用于计算依赖关系,不是匹配条件,不要与提供方一样 -->
- <dubbo:application name="swismp-provider"/>
- <!-- zookeeper作为注册中心 -->
- <!--20开发环境-->
- <dubbo:registry protocol="zookeeper"
- address="zookeeper://192.168.20.65:2181?backup=192.168.20.66:2181,192.168.20.67:2181" group="swismp"/>
- <!-- 用dubbo协议在20880端口暴露服务 -->
- <!--payload : 1M=1048576-->
- <dubbo:protocol name="dubbo" port="20884" />
- <dubbo:monitor protocol="registry"/>
- <dubbo:provider filter="monitor" group="dubbo"/>
- <!-- 生成远程服务代理 -->
- <!-- 系统功能模块 -->
- <dubbo:service ref="sysOperationLogService" interface="com.sunwin.swismp.service.sysfunction.SysOperationLogService"/>
- <dubbo:service ref="sysUserService" interface="com.sunwin.swismp.service.sysfunction.SysUserService"/>
- <dubbo:service ref="sysMenuService" interface="com.sunwin.swismp.service.sysfunction.SysMenuService"/>
- <dubbo:service ref="sysOrgService" interface="com.sunwin.swismp.service.sysfunction.SysOrgService"/>
- <dubbo:service ref="sysRoleService" interface="com.sunwin.swismp.service.sysfunction.SysRoleService"/>
- <dubbo:service ref="sysRoleMenuPermissionsService" interface="com.sunwin.swismp.service.sysfunction.SysRoleMenuPermissionsService"/>
- <!-- bean -->
- <!-- 系统功能模块 -->
- <bean class="com.sunwin.swismp.service.sysfunction.impl.SysOperationLogServiceImpl" id="sysOperationLogService"/>
- <bean class="com.sunwin.swismp.service.sysfunction.impl.SysUserServiceImpl" id="sysUserService"/>
- <bean class="com.sunwin.swismp.service.sysfunction.impl.SysMenuServiceImpl" id="sysMenuService"/>
- <bean class="com.sunwin.swismp.service.sysfunction.impl.SysOrgServiceImpl" id="sysOrgService"/>
- <bean class="com.sunwin.swismp.service.sysfunction.impl.SysRoleServiceImpl" id="sysRoleService"/>
- <bean class="com.sunwin.swismp.service.sysfunction.impl.SysRoleMenuPermissionsServiceImpl" id="sysRoleMenuPermissionsService"/>
- </beans>
|