Home / Function/ getStrategy() — spring-boot Function Reference

getStrategy() — spring-boot Function Reference

Architecture documentation for the getStrategy() function in OnBeanCondition.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  1ac703ed_372f_03eb_304a_f76d7a096ee5["getStrategy()"]
  fd603d49_4269_fbde_174b_b296c20d4b2d["evaluateConditionalOnSingleCandidate()"]
  fd603d49_4269_fbde_174b_b296c20d4b2d -->|calls| 1ac703ed_372f_03eb_304a_f76d7a096ee5
  e8d44fa6_45ad_6d14_6468_53ed18c907e0["getMatchingBeans()"]
  e8d44fa6_45ad_6d14_6468_53ed18c907e0 -->|calls| 1ac703ed_372f_03eb_304a_f76d7a096ee5
  8f1f8954_51c8_a466_9ffb_38ba46644698["getSearchBeanFactory()"]
  8f1f8954_51c8_a466_9ffb_38ba46644698 -->|calls| 1ac703ed_372f_03eb_304a_f76d7a096ee5
  style 1ac703ed_372f_03eb_304a_f76d7a096ee5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnBeanCondition.java lines 734–736

		private SearchStrategy getStrategy() {
			return (this.strategy != null) ? this.strategy : SearchStrategy.ALL;
		}

Domain

Subdomains

Frequently Asked Questions

What does getStrategy() do?
getStrategy() is a function in the spring-boot codebase.
What calls getStrategy()?
getStrategy() is called by 3 function(s): evaluateConditionalOnSingleCandidate, getMatchingBeans, getSearchBeanFactory.

Analyze Your Own Codebase

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

Try Supermodel Free