@ConditionalOnProperty(prefix="dubbo",
name="enabled",
matchIfMissing=true)
@ConditionalOnClass(name="org.springframework.boot.bind.RelaxedPropertyResolver")
@Configuration
public class DubboRelaxedBindingAutoConfiguration
extends Object
Configuration for Spring Boot 1.x| 构造器和说明 |
|---|
DubboRelaxedBindingAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.core.env.PropertyResolver |
dubboScanBasePackagesPropertyResolver(org.springframework.core.env.Environment environment) |
org.apache.dubbo.config.spring.context.properties.DubboConfigBinder |
relaxedDubboConfigBinder() |
@Bean(name="dubboScanBasePackagesPropertyResolver") public org.springframework.core.env.PropertyResolver dubboScanBasePackagesPropertyResolver(org.springframework.core.env.Environment environment)
@ConditionalOnMissingBean(name="relaxedDubboConfigBinder",
value=org.apache.dubbo.config.spring.context.properties.DubboConfigBinder.class)
@Bean(value="relaxedDubboConfigBinder")
@Scope(scopeName="prototype")
public org.apache.dubbo.config.spring.context.properties.DubboConfigBinder relaxedDubboConfigBinder()
Copyright © 2019 The Apache Software Foundation. All rights reserved.