Class ConfigurationPropertiesBindConstructorProvider
java.lang.Object
org.springframework.boot.context.properties.ConfigurationPropertiesBindConstructorProvider
- All Implemented Interfaces:
BindConstructorProvider
public class ConfigurationPropertiesBindConstructorProvider
extends Object
implements BindConstructorProvider
BindConstructorProvider used when binding
@ConfigurationProperties.- Since:
- 3.0.0
- Author:
- Madhura Bhave, Phillip Webb
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ConfigurationPropertiesBindConstructorProviderA shared singletonConfigurationPropertiesBindConstructorProviderinstance.Fields inherited from interface org.springframework.boot.context.properties.bind.BindConstructorProvider
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConstructor<?>getBindConstructor(Bindable<?> bindable, boolean isNestedConstructorBinding) Return the bind constructor to use for the given bindable, ornullif constructor binding is not supported.
-
Field Details
-
INSTANCE
A shared singletonConfigurationPropertiesBindConstructorProviderinstance.
-
-
Constructor Details
-
ConfigurationPropertiesBindConstructorProvider
public ConfigurationPropertiesBindConstructorProvider()
-
-
Method Details
-
getBindConstructor
Description copied from interface:BindConstructorProviderReturn the bind constructor to use for the given bindable, ornullif constructor binding is not supported.- Specified by:
getBindConstructorin interfaceBindConstructorProvider- Parameters:
bindable- the bindable to checkisNestedConstructorBinding- if this binding is nested within a constructor binding- Returns:
- the bind constructor or
null
-