putAll() — spring-boot Function Reference
Architecture documentation for the putAll() function in OnBeanCondition.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD e7b24424_08f7_5843_9dea_fe09460299b9["putAll()"] 765924ce_4ea5_d0ad_32a2_d76919387853["collectBeanDefinitionsForType()"] 765924ce_4ea5_d0ad_32a2_d76919387853 -->|calls| e7b24424_08f7_5843_9dea_fe09460299b9 6f04ff5d_1576_1680_363c_f81d113ba610["collectBeanDefinitionsForAnnotation()"] 6f04ff5d_1576_1680_363c_f81d113ba610 -->|calls| e7b24424_08f7_5843_9dea_fe09460299b9 45d92a7f_3ef5_eda1_c3ba_184757daec7e["getBeanDefinition()"] e7b24424_08f7_5843_9dea_fe09460299b9 -->|calls| 45d92a7f_3ef5_eda1_c3ba_184757daec7e style e7b24424_08f7_5843_9dea_fe09460299b9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnBeanCondition.java lines 525–543
private static @Nullable Map<String, @Nullable BeanDefinition> putAll(
@Nullable Map<String, @Nullable BeanDefinition> result, String[] beanNames,
ListableBeanFactory beanFactory) {
if (ObjectUtils.isEmpty(beanNames)) {
return result;
}
if (result == null) {
result = new LinkedHashMap<>();
}
for (String beanName : beanNames) {
if (beanFactory instanceof ConfigurableListableBeanFactory clbf) {
result.put(beanName, getBeanDefinition(beanName, clbf));
}
else {
result.put(beanName, null);
}
}
return result;
}
Domain
Subdomains
Calls
Called By
- collectBeanDefinitionsForAnnotation()
- collectBeanDefinitionsForType()
Source
Frequently Asked Questions
What does putAll() do?
putAll() is a function in the spring-boot codebase.
What does putAll() call?
putAll() calls 1 function(s): getBeanDefinition.
What calls putAll()?
putAll() is called by 2 function(s): collectBeanDefinitionsForAnnotation, collectBeanDefinitionsForType.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free