den.app-example-provider.1.0.8.source-code.app-dubbo.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2018 CManLH ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.springframework.org/schema/beans" 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}"/> <dubbo:registry address="${dubbo.register.address}"/> <dubbo:protocol name="${dubbo.protocol.name}" port="${dubbo.protocol.port}"/> <dubbo:annotation package="${dubbo.annotation.package}"/> <bean class="com.lifeonwalden.app.microservice.provider.service.impl.PrincipalServiceImpl"/> <dubbo:provider filter="principalProviderFilter"/> <dubbo:service interface="com.thirdparty.service.TodoService" ref="todoServiceImpl"/> <dubbo:service interface="com.thirdparty.service.StoreService" ref="storeServiceImpl"/> <dubbo:service interface="com.thirdparty.service.AuthService" ref="authServiceImpl"/> </beans>