bindObject() — spring-boot Function Reference
Architecture documentation for the bindObject() function in Binder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4["bindObject()"] 8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"] 8297d150_846a_4cc4_47ca_e6d5a70497f3 -->|calls| b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4 ab1f10f2_4493_a842_c36e_0f4d327642e3["findProperty()"] b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4 -->|calls| ab1f10f2_4493_a842_c36e_0f4d327642e3 e4c79b75_287e_6111_22ce_be564d3935ab["containsNoDescendantOf()"] b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4 -->|calls| e4c79b75_287e_6111_22ce_be564d3935ab 0b83b192_3d87_a5c9_0a8f_2f1a0e41d0fc["getSources()"] b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4 -->|calls| 0b83b192_3d87_a5c9_0a8f_2f1a0e41d0fc ec2441a7_5cee_ce3e_581f_abaaab863573["getAggregateBinder()"] b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4 -->|calls| ec2441a7_5cee_ce3e_581f_abaaab863573 da46db46_d34d_a4fc_45c1_4ceb203ec534["bindAggregate()"] b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4 -->|calls| da46db46_d34d_a4fc_45c1_4ceb203ec534 809f9af8_7ea5_e10f_4e46_e4f811ac6ae6["bindProperty()"] b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4 -->|calls| 809f9af8_7ea5_e10f_4e46_e4f811ac6ae6 b8ef4d88_30d9_3ee1_329f_d371353527a2["bindDataObject()"] b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4 -->|calls| b8ef4d88_30d9_3ee1_329f_d371353527a2 style b988a9ef_6f63_f1f4_eeb4_f4d7f6f34cd4 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 422–446
private <T> @Nullable Object bindObject(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler,
Context context, boolean allowRecursiveBinding) {
ConfigurationProperty property = findProperty(name, target, context);
if (property == null && context.depth != 0 && containsNoDescendantOf(context.getSources(), name)) {
return null;
}
AggregateBinder<?> aggregateBinder = getAggregateBinder(target, context);
if (aggregateBinder != null) {
return bindAggregate(name, target, handler, context, aggregateBinder);
}
if (property != null) {
try {
return bindProperty(target, context, property);
}
catch (ConverterNotFoundException ex) {
// We might still be able to bind it using the recursive binders
Object instance = bindDataObject(name, target, handler, context, allowRecursiveBinding);
if (instance != null) {
return instance;
}
throw ex;
}
}
return bindDataObject(name, target, handler, context, allowRecursiveBinding);
}
Domain
Subdomains
Calls
- bindAggregate()
- bindDataObject()
- bindProperty()
- containsNoDescendantOf()
- findProperty()
- getAggregateBinder()
- getSources()
Called By
Source
Frequently Asked Questions
What does bindObject() do?
bindObject() is a function in the spring-boot codebase.
What does bindObject() call?
bindObject() calls 7 function(s): bindAggregate, bindDataObject, bindProperty, containsNoDescendantOf, findProperty, getAggregateBinder, getSources.
What calls bindObject()?
bindObject() is called by 1 function(s): bind.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free