31 lines
1.2 KiB
XML
Executable File
31 lines
1.2 KiB
XML
Executable File
<?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="${dubbo.application.name}" />
|
|
|
|
<!-- 使用zkp注册中心暴露服务地址 -->
|
|
<!-- 使用zookeeper注册中心暴露服务地址 -->
|
|
<dubbo:registry protocol="${dubbo.registry.protocol}"
|
|
address="${dubbo.registry.address}" />
|
|
|
|
<dubbo:protocol host="127.0.0.1" />
|
|
|
|
|
|
|
|
<dubbo:reference id="traderFollowUserService"
|
|
interface="project.follow.TraderFollowUserService" check="false" />
|
|
<dubbo:reference id="traderFollowUserOrderService"
|
|
interface="project.follow.TraderFollowUserOrderService" check="false" />
|
|
<dubbo:reference id="traderUserService"
|
|
interface="project.follow.TraderUserService" check="false" />
|
|
|
|
|
|
|
|
</beans> |