first commit
This commit is contained in:
41
dapp/config/spring/applicationContext-dubbo.xml
Executable file
41
dapp/config/spring/applicationContext-dubbo.xml
Executable file
@@ -0,0 +1,41 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user