first commit
This commit is contained in:
32
comm/Log/config/spring/applicationContext-dubbo_data.xml
Executable file
32
comm/Log/config/spring/applicationContext-dubbo_data.xml
Executable file
@@ -0,0 +1,32 @@
|
||||
<?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注册中心暴露服务地址 -->
|
||||
<dubbo:registry protocol="${dubbo.registry.protocol}"
|
||||
address="${dubbo.registry.address}" />
|
||||
|
||||
<dubbo:protocol port="${dubbo.application.port.root}"
|
||||
host="127.0.0.1"></dubbo:protocol>
|
||||
|
||||
|
||||
<!-- 声明需要暴露的服务接口 -->
|
||||
|
||||
<dubbo:service interface="project.log.LogService"
|
||||
ref="logService" />
|
||||
|
||||
<dubbo:service interface="project.log.SysLogService"
|
||||
ref="sysLogService" />
|
||||
<dubbo:service interface="project.log.CodeLogService"
|
||||
ref="codeLogService" />
|
||||
|
||||
</beans>
|
||||
Reference in New Issue
Block a user