DisabledIfNotConfiguredOtherwiseConfig Class — spring-boot Architecture
Architecture documentation for the DisabledIfNotConfiguredOtherwiseConfig class in ConditionalOnPropertyTests.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnPropertyTests.java lines 387–397
@Configuration(proxyBeanMethods = false)
// i.e ${simple.myProperty:false}
@ConditionalOnProperty(prefix = "simple", name = "my-property", havingValue = "true")
static class DisabledIfNotConfiguredOtherwiseConfig {
@Bean
String foo() {
return "foo";
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free