public interface DubboConfigBinder
extends org.springframework.context.EnvironmentAware
DubboConfig BinderAbstractConfig,
EnvironmentAware| Modifier and Type | Method and Description |
|---|---|
<C extends AbstractConfig> |
bind(String prefix,
C dubboConfig)
Bind the properties to Dubbo Config Object under specified prefix.
|
void |
setIgnoreInvalidFields(boolean ignoreInvalidFields)
Set whether to ignore invalid fields, that is, whether to ignore bind
parameters that have corresponding fields in the target object which are
not accessible (for example because of null values in the nested path).
|
void |
setIgnoreUnknownFields(boolean ignoreUnknownFields)
Set whether to ignore unknown fields, that is, whether to ignore bind
parameters that do not have corresponding fields in the target object.
|
void setIgnoreUnknownFields(boolean ignoreUnknownFields)
Default is "true". Turn this off to enforce that all bind parameters must have a matching field in the target object.
bind(java.lang.String, C)void setIgnoreInvalidFields(boolean ignoreInvalidFields)
Default is "false".
bind(java.lang.String, C)<C extends AbstractConfig> void bind(String prefix, C dubboConfig)
prefix - dubboConfig - Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.