bindDataObject() — spring-boot Function Reference
Architecture documentation for the bindDataObject() function in Binder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD b8ef4d88_30d9_3ee1_329f_d371353527a2["bindDataObject()"] b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4["bindObject()"] b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4 -->|calls| b8ef4d88_30d9_3ee1_329f_d371353527a2 274e625f_c882_1267_e6cb_c28cd7adc0e5["isUnbindableBean()"] b8ef4d88_30d9_3ee1_329f_d371353527a2 -->|calls| 274e625f_c882_1267_e6cb_c28cd7adc0e5 8d8ef66e_fc29_736c_c815_846df9fa8305["getType()"] b8ef4d88_30d9_3ee1_329f_d371353527a2 -->|calls| 8d8ef66e_fc29_736c_c815_846df9fa8305 f490b768_b5e5_1480_43cf_13f5675ae4a2["isBindingDataObject()"] b8ef4d88_30d9_3ee1_329f_d371353527a2 -->|calls| f490b768_b5e5_1480_43cf_13f5675ae4a2 8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"] b8ef4d88_30d9_3ee1_329f_d371353527a2 -->|calls| 8297d150_846a_4cc4_47ca_e6d5a70497f3 11338589_3cbf_a232_006d_8d22cfbd0f0f["fromDataObjectBinders()"] b8ef4d88_30d9_3ee1_329f_d371353527a2 -->|calls| 11338589_3cbf_a232_006d_8d22cfbd0f0f 8f8809e3_3314_4211_67ec_bbdc394d4f25["withDataObject()"] b8ef4d88_30d9_3ee1_329f_d371353527a2 -->|calls| 8f8809e3_3314_4211_67ec_bbdc394d4f25 ab2d8162_8b78_6d7d_a007_edd56cb0b2e5["append()"] b8ef4d88_30d9_3ee1_329f_d371353527a2 -->|calls| ab2d8162_8b78_6d7d_a007_edd56cb0b2e5 style b8ef4d88_30d9_3ee1_329f_d371353527a2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java lines 495–510
private @Nullable Object bindDataObject(ConfigurationPropertyName name, Bindable<?> target, BindHandler handler,
Context context, boolean allowRecursiveBinding) {
if (isUnbindableBean(name, target, context)) {
return null;
}
Class<?> type = target.getType().resolve(Object.class);
BindMethod bindMethod = target.getBindMethod();
if (!allowRecursiveBinding && context.isBindingDataObject(type)) {
return null;
}
DataObjectPropertyBinder propertyBinder = (propertyName, propertyTarget) -> bind(name.append(propertyName),
propertyTarget, handler, context, false, false);
Supplier<@Nullable Object> supplier = () -> fromDataObjectBinders(bindMethod,
(dataObjectBinder) -> dataObjectBinder.bind(name, target, context, propertyBinder));
return context.withDataObject(type, supplier);
}
Domain
Subdomains
Calls
- append()
- bind()
- fromDataObjectBinders()
- getType()
- isBindingDataObject()
- isUnbindableBean()
- withDataObject()
Called By
Source
Frequently Asked Questions
What does bindDataObject() do?
bindDataObject() is a function in the spring-boot codebase.
What does bindDataObject() call?
bindDataObject() calls 7 function(s): append, bind, fromDataObjectBinders, getType, isBindingDataObject, isUnbindableBean, withDataObject.
What calls bindDataObject()?
bindDataObject() is called by 1 function(s): bindObject.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free