bind() — spring-boot Function Reference
Architecture documentation for the bind() function in JavaBeanBinder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 20338f0d_1278_4ee8_2318_7a2fbc33ae58["bind()"] 1634bb6c_7b0e_80f6_9ae3_1a59b11c2574["getValue()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| 1634bb6c_7b0e_80f6_9ae3_1a59b11c2574 608396b1_2cc0_f216_6d4a_fe61b364e344["hasKnownBindableProperties()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| 608396b1_2cc0_f216_6d4a_fe61b364e344 5e90a436_d3d0_08f8_af04_60a8e96f2818["getSupplier()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| 5e90a436_d3d0_08f8_af04_60a8e96f2818 68826982_20bd_079d_9597_4c2d079a6165["getProperties()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| 68826982_20bd_079d_9597_4c2d079a6165 d09e168f_8d40_64a8_1f3e_91a6ab30d130["determinePropertyName()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| d09e168f_8d40_64a8_1f3e_91a6ab30d130 f43b26cb_4b43_9f9a_6bd3_efd62da0876d["getAnnotations()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| f43b26cb_4b43_9f9a_6bd3_efd62da0876d 5569db8f_6c80_d42f_4db5_cf2f0fd0ebbd["of()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| 5569db8f_6c80_d42f_4db5_cf2f0fd0ebbd 6424ff80_9c57_c25e_662f_cb878c34f4aa["isSettable()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| 6424ff80_9c57_c25e_662f_cb878c34f4aa 8745bfaa_e75c_9be3_3f0c_409f141b12ca["setValue()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| 8745bfaa_e75c_9be3_3f0c_409f141b12ca 27c68f3d_4a99_f60a_533b_3cb6bc076b9d["equals()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| 27c68f3d_4a99_f60a_533b_3cb6bc076b9d 78dcb087_8a61_ea40_36a3_fdbedb790ee0["getName()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| 78dcb087_8a61_ea40_36a3_fdbedb790ee0 7c9243c3_087f_8f36_f31b_4fafbe79db95["get()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| 7c9243c3_087f_8f36_f31b_4fafbe79db95 87760d58_4d1f_1541_0711_8003e6141561["getType()"] 20338f0d_1278_4ee8_2318_7a2fbc33ae58 -->|calls| 87760d58_4d1f_1541_0711_8003e6141561 style 20338f0d_1278_4ee8_2318_7a2fbc33ae58 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/JavaBeanBinder.java lines 62–73
@Override
public <T> @Nullable T bind(ConfigurationPropertyName name, Bindable<T> target, Context context,
DataObjectPropertyBinder propertyBinder) {
boolean hasKnownBindableProperties = target.getValue() != null && hasKnownBindableProperties(name, context);
Bean<T> bean = Bean.get(target, context, hasKnownBindableProperties);
if (bean == null) {
return null;
}
BeanSupplier<T> beanSupplier = bean.getSupplier(target);
boolean bound = bind(propertyBinder, bean, beanSupplier, context);
return (bound ? beanSupplier.get() : null);
}
Domain
Subdomains
Calls
- determinePropertyName()
- equals()
- get()
- getAnnotations()
- getName()
- getProperties()
- getSupplier()
- getType()
- getValue()
- hasKnownBindableProperties()
- isSettable()
- of()
- setValue()
Source
Frequently Asked Questions
What does bind() do?
bind() is a function in the spring-boot codebase.
What does bind() call?
bind() calls 13 function(s): determinePropertyName, equals, get, getAnnotations, getName, getProperties, getSupplier, getType, and 5 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free