public abstract class AbstractDubboConfigBinder extends Object implements DubboConfigBinder
DubboConfigBinder implementation| 构造器和说明 |
|---|
AbstractDubboConfigBinder() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isIgnoreInvalidFields() |
boolean |
isIgnoreUnknownFields() |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
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.
|
bindpublic boolean isIgnoreUnknownFields()
public void setIgnoreUnknownFields(boolean ignoreUnknownFields)
DubboConfigBinderDefault is "true". Turn this off to enforce that all bind parameters must have a matching field in the target object.
public boolean isIgnoreInvalidFields()
public void setIgnoreInvalidFields(boolean ignoreInvalidFields)
DubboConfigBinderDefault is "false".
public final void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment 在接口中 org.springframework.context.EnvironmentAwareCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.