OnBeanForTypeThatDoesNotExist Class — spring-boot Architecture
Architecture documentation for the OnBeanForTypeThatDoesNotExist class in ConditionalOnBeanTests.java from the spring-boot codebase.
Entity Profile
Source Code
core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnBeanTests.java lines 857–866
@Configuration(proxyBeanMethods = false)
@ConditionalOnBean(type = "com.example.DoesNotExist")
static class OnBeanForTypeThatDoesNotExist {
@Bean
String bean() {
return "bean";
}
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free