@Configuration
@ConditionalOnProperty(prefix="dubbo",
name="enabled",
matchIfMissing=true)
@ConditionalOnClass(name="org.springframework.boot.context.properties.bind.Binder")
@AutoConfigureBefore(value=org.apache.dubbo.spring.boot.autoconfigure.DubboRelaxedBindingAutoConfiguration.class)
public class DubboRelaxedBinding2AutoConfiguration
extends Object
Configuration for Spring Boot 2.0DubboRelaxedBindingAutoConfiguration| 构造器和说明 |
|---|
DubboRelaxedBinding2AutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.core.env.PropertyResolver |
dubboScanBasePackagesPropertyResolver(org.springframework.core.env.ConfigurableEnvironment environment) |
org.apache.dubbo.config.spring.context.properties.DubboConfigBinder |
relaxedDubboConfigBinder() |
@Bean(name="dubboScanBasePackagesPropertyResolver") public org.springframework.core.env.PropertyResolver dubboScanBasePackagesPropertyResolver(org.springframework.core.env.ConfigurableEnvironment 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.