checkNoUnboundElements() — spring-boot Function Reference
Architecture documentation for the checkNoUnboundElements() function in NoUnboundElementsBindHandler.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD c4e16c6c_3bb7_ad0e_07c2_8b059f8a464e["checkNoUnboundElements()"] 41b8f110_722d_df44_4606_2c22c2911356["onFinish()"] 41b8f110_722d_df44_4606_2c22c2911356 -->|calls| c4e16c6c_3bb7_ad0e_07c2_8b059f8a464e 0b6e9be8_c7bc_cd8a_a9ed_7a3bc23be809["collectUnbound()"] c4e16c6c_3bb7_ad0e_07c2_8b059f8a464e -->|calls| 0b6e9be8_c7bc_cd8a_a9ed_7a3bc23be809 723faf45_147b_9b0f_f957_9de88f8cbb17["isEmpty()"] c4e16c6c_3bb7_ad0e_07c2_8b059f8a464e -->|calls| 723faf45_147b_9b0f_f957_9de88f8cbb17 0b5d0449_5445_7de7_ad0c_91f9f3734cb6["UnboundConfigurationPropertiesException()"] c4e16c6c_3bb7_ad0e_07c2_8b059f8a464e -->|calls| 0b5d0449_5445_7de7_ad0c_91f9f3734cb6 style c4e16c6c_3bb7_ad0e_07c2_8b059f8a464e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/handler/NoUnboundElementsBindHandler.java lines 95–105
private void checkNoUnboundElements(ConfigurationPropertyName name, BindContext context) {
Set<ConfigurationProperty> unbound = new TreeSet<>();
for (ConfigurationPropertySource source : context.getSources()) {
if (source instanceof IterableConfigurationPropertySource && this.filter.apply(source)) {
collectUnbound(name, unbound, (IterableConfigurationPropertySource) source);
}
}
if (!unbound.isEmpty()) {
throw new UnboundConfigurationPropertiesException(unbound);
}
}
Domain
Subdomains
Called By
- onFinish()
Source
Frequently Asked Questions
What does checkNoUnboundElements() do?
checkNoUnboundElements() is a function in the spring-boot codebase.
What does checkNoUnboundElements() call?
checkNoUnboundElements() calls 3 function(s): UnboundConfigurationPropertiesException, collectUnbound, isEmpty.
What calls checkNoUnboundElements()?
checkNoUnboundElements() is called by 1 function(s): onFinish.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free