Home / Class/ OnBeanSingleCandidateInAncestorsConfiguration Class — spring-boot Architecture

OnBeanSingleCandidateInAncestorsConfiguration Class — spring-boot Architecture

Architecture documentation for the OnBeanSingleCandidateInAncestorsConfiguration class in ConditionalOnSingleCandidateTests.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/ConditionalOnSingleCandidateTests.java lines 219–228

	@Configuration(proxyBeanMethods = false)
	@ConditionalOnSingleCandidate(value = String.class, search = SearchStrategy.ANCESTORS)
	static class OnBeanSingleCandidateInAncestorsConfiguration {

		@Bean
		CharSequence consumer(CharSequence s) {
			return s;
		}

	}

Analyze Your Own Codebase

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

Try Supermodel Free