createBean() — spring-boot Function Reference
Architecture documentation for the createBean() function in DynamicRegistrationBeanTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 2498b25c_a10a_0cf0_35bd_dd59292b2f05["createBean()"] d5fc1bbf_ff74_401d_89be_42b2f4010da6["shouldUseNameIfSet()"] d5fc1bbf_ff74_401d_89be_42b2f4010da6 -->|calls| 2498b25c_a10a_0cf0_35bd_dd59292b2f05 2bed21a2_b1af_b27a_57ab_a4fbc9b361d8["shouldUseBeanNameIfNameIsNotSet()"] 2bed21a2_b1af_b27a_57ab_a4fbc9b361d8 -->|calls| 2498b25c_a10a_0cf0_35bd_dd59292b2f05 22bf3a01_9708_ae24_3d8a_ac48fbbc9e59["shouldUseConventionBasedNameIfNoNameOrBeanNameIsSet()"] 22bf3a01_9708_ae24_3d8a_ac48fbbc9e59 -->|calls| 2498b25c_a10a_0cf0_35bd_dd59292b2f05 style 2498b25c_a10a_0cf0_35bd_dd59292b2f05 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/web/servlet/DynamicRegistrationBeanTests.java lines 53–65
private static DynamicRegistrationBean<?> createBean() {
return new DynamicRegistrationBean<>() {
@Override
protected @Nullable Dynamic addRegistration(String description, ServletContext servletContext) {
return null;
}
@Override
protected String getDescription() {
return "";
}
};
}
Domain
Subdomains
Called By
- shouldUseBeanNameIfNameIsNotSet()
- shouldUseConventionBasedNameIfNoNameOrBeanNameIsSet()
- shouldUseNameIfSet()
Source
Frequently Asked Questions
What does createBean() do?
createBean() is a function in the spring-boot codebase.
What calls createBean()?
createBean() is called by 3 function(s): shouldUseBeanNameIfNameIsNotSet, shouldUseConventionBasedNameIfNoNameOrBeanNameIsSet, shouldUseNameIfSet.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free