getBindHandler() — spring-boot Function Reference
Architecture documentation for the getBindHandler() function in ConfigurationPropertiesBinder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 7049470b_f628_735d_a808_ac3f1e21b5b2["getBindHandler()"] e87455c4_2bcc_2604_575c_350679e30be6["bind()"] e87455c4_2bcc_2604_575c_350679e30be6 -->|calls| 7049470b_f628_735d_a808_ac3f1e21b5b2 d4d55df6_6767_f4b0_51f7_b000f762e276["bindOrCreate()"] d4d55df6_6767_f4b0_51f7_b000f762e276 -->|calls| 7049470b_f628_735d_a808_ac3f1e21b5b2 b29e4c8d_349d_569b_228d_d7bb880eb65b["getValidators()"] 7049470b_f628_735d_a808_ac3f1e21b5b2 -->|calls| b29e4c8d_349d_569b_228d_d7bb880eb65b a4191caf_2c26_2490_36a8_646e5e8e2fe8["getHandler()"] 7049470b_f628_735d_a808_ac3f1e21b5b2 -->|calls| a4191caf_2c26_2490_36a8_646e5e8e2fe8 c69f8c6c_c638_d4d9_720d_ac46c92ea3f0["ConfigurationPropertiesBindHandler()"] 7049470b_f628_735d_a808_ac3f1e21b5b2 -->|calls| c69f8c6c_c638_d4d9_720d_ac46c92ea3f0 57fdc1cb_6747_fe0a_0be1_3727b8692757["IgnoreErrorsBindHandler()"] 7049470b_f628_735d_a808_ac3f1e21b5b2 -->|calls| 57fdc1cb_6747_fe0a_0be1_3727b8692757 3f37f75b_50b8_7cb2_7513_044dfea43930["NoUnboundElementsBindHandler()"] 7049470b_f628_735d_a808_ac3f1e21b5b2 -->|calls| 3f37f75b_50b8_7cb2_7513_044dfea43930 723faf45_147b_9b0f_f957_9de88f8cbb17["isEmpty()"] 7049470b_f628_735d_a808_ac3f1e21b5b2 -->|calls| 723faf45_147b_9b0f_f957_9de88f8cbb17 b9979047_35af_543d_22d1_6ec29bb04f1e["ValidationBindHandler()"] 7049470b_f628_735d_a808_ac3f1e21b5b2 -->|calls| b9979047_35af_543d_22d1_6ec29bb04f1e e14fc2f8_1aa9_47d8_b14e_44344b251f99["getBindHandlerAdvisors()"] 7049470b_f628_735d_a808_ac3f1e21b5b2 -->|calls| e14fc2f8_1aa9_47d8_b14e_44344b251f99 89dff8d2_e937_9b22_3708_4d9ca54a1109["apply()"] 7049470b_f628_735d_a808_ac3f1e21b5b2 -->|calls| 89dff8d2_e937_9b22_3708_4d9ca54a1109 style 7049470b_f628_735d_a808_ac3f1e21b5b2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesBinder.java lines 113–131
private <T> BindHandler getBindHandler(Bindable<T> target, ConfigurationProperties annotation) {
List<Validator> validators = getValidators(target);
BindHandler handler = getHandler();
handler = new ConfigurationPropertiesBindHandler(handler);
if (annotation.ignoreInvalidFields()) {
handler = new IgnoreErrorsBindHandler(handler);
}
if (!annotation.ignoreUnknownFields()) {
UnboundElementsSourceFilter filter = new UnboundElementsSourceFilter();
handler = new NoUnboundElementsBindHandler(handler, filter);
}
if (!validators.isEmpty()) {
handler = new ValidationBindHandler(handler, validators.toArray(new Validator[0]));
}
for (ConfigurationPropertiesBindHandlerAdvisor advisor : getBindHandlerAdvisors()) {
handler = advisor.apply(handler);
}
return handler;
}
Domain
Subdomains
Calls
- ConfigurationPropertiesBindHandler()
- IgnoreErrorsBindHandler()
- NoUnboundElementsBindHandler()
- ValidationBindHandler()
- apply()
- getBindHandlerAdvisors()
- getHandler()
- getValidators()
- isEmpty()
Called By
Source
Frequently Asked Questions
What does getBindHandler() do?
getBindHandler() is a function in the spring-boot codebase.
What does getBindHandler() call?
getBindHandler() calls 9 function(s): ConfigurationPropertiesBindHandler, IgnoreErrorsBindHandler, NoUnboundElementsBindHandler, ValidationBindHandler, apply, getBindHandlerAdvisors, getHandler, getValidators, and 1 more.
What calls getBindHandler()?
getBindHandler() is called by 2 function(s): bind, bindOrCreate.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free