Home / Class/ EnabledIfNotConfiguredOtherwiseConfig Class — spring-boot Architecture

EnabledIfNotConfiguredOtherwiseConfig Class — spring-boot Architecture

Architecture documentation for the EnabledIfNotConfiguredOtherwiseConfig 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 375–385

	@Configuration(proxyBeanMethods = false)
	// i.e ${simple.myProperty:true}
	@ConditionalOnProperty(prefix = "simple", name = "my-property", havingValue = "true", matchIfMissing = true)
	static class EnabledIfNotConfiguredOtherwiseConfig {

		@Bean
		String foo() {
			return "foo";
		}

	}

Domain

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free