32 lines
1.1 KiB
XML
Executable File
32 lines
1.1 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注册中心暴露服务地址 -->
|
|
<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> |