Files
123123/dapp/config/spring/applicationContext-dubbo.xml
2026-02-19 03:37:37 +08:00

41 lines
1.3 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="channelBlockchainService"
interface="project.blockchain.ChannelBlockchainService" check="false" />
<dubbo:reference id="rechargeBlockchainService"
interface="project.blockchain.RechargeBlockchainService" check="false" />
<dubbo:reference id="qRProducerService"
interface="project.blockchain.QRProducerService" check="false" />
<dubbo:reference id="rechargeBonusService"
interface="project.bonus.RechargeBonusService" check="false" />
</beans>