evaluateConditionalOnMissingBean() — spring-boot Function Reference
Architecture documentation for the evaluateConditionalOnMissingBean() function in OnBeanCondition.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 0728734f_676c_32d6_80e4_1a420d5d6239["evaluateConditionalOnMissingBean()"] 43c9ea98_9071_6b63_b2a4_18a4917b5b73["getMatchOutcome()"] 43c9ea98_9071_6b63_b2a4_18a4917b5b73 -->|calls| 0728734f_676c_32d6_80e4_1a420d5d6239 e8d44fa6_45ad_6d14_6468_53ed18c907e0["getMatchingBeans()"] 0728734f_676c_32d6_80e4_1a420d5d6239 -->|calls| e8d44fa6_45ad_6d14_6468_53ed18c907e0 8dd4419b_85e4_828a_0856_b31c95204358["isAnyMatched()"] 0728734f_676c_32d6_80e4_1a420d5d6239 -->|calls| 8dd4419b_85e4_828a_0856_b31c95204358 be633982_4850_c8c6_6c4a_95c5b8323596["createOnMissingBeanNoMatchReason()"] 0728734f_676c_32d6_80e4_1a420d5d6239 -->|calls| be633982_4850_c8c6_6c4a_95c5b8323596 18f5fe99_be23_a43e_a6e4_fe16d6894135["message()"] 0728734f_676c_32d6_80e4_1a420d5d6239 -->|calls| 18f5fe99_be23_a43e_a6e4_fe16d6894135 style 0728734f_676c_32d6_80e4_1a420d5d6239 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 202–210
private ConditionOutcome evaluateConditionalOnMissingBean(Spec<ConditionalOnMissingBean> spec,
ConditionMessage matchMessage) {
MatchResult matchResult = getMatchingBeans(spec);
if (matchResult.isAnyMatched()) {
String reason = createOnMissingBeanNoMatchReason(matchResult);
return ConditionOutcome.noMatch(spec.message().because(reason));
}
return ConditionOutcome.match(spec.message(matchMessage).didNotFind("any beans").atAll());
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does evaluateConditionalOnMissingBean() do?
evaluateConditionalOnMissingBean() is a function in the spring-boot codebase.
What does evaluateConditionalOnMissingBean() call?
evaluateConditionalOnMissingBean() calls 4 function(s): createOnMissingBeanNoMatchReason, getMatchingBeans, isAnyMatched, message.
What calls evaluateConditionalOnMissingBean()?
evaluateConditionalOnMissingBean() is called by 1 function(s): getMatchOutcome.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free