public class ConfigurationPropertiesBinder extends Object
ConfigurationProperties
annotated object from a configurable list of
PropertySource
.ConfigurationPropertiesBinderBuilder
Modifier and Type | Method and Description |
---|---|
void |
bind(Object target)
Bind the specified
target object if it is annotated with
ConfigurationProperties , otherwise ignore it. |
public void bind(Object target)
target
object if it is annotated with
ConfigurationProperties
, otherwise ignore it.target
- the target to bind the configuration property sources toConfigurationPropertiesBindingException
- if the binding failedCopyright © 2017 Pivotal Software, Inc.. All rights reserved.