getMatchOutcome() — spring-boot Function Reference
Architecture documentation for the getMatchOutcome() function in OnJndiCondition.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 4e8e4047_7bf4_5a13_e76e_c69855afc2d2["getMatchOutcome()"] f868bcb7_a6cf_106d_6974_c9ff7ec23c4e["isJndiAvailable()"] 4e8e4047_7bf4_5a13_e76e_c69855afc2d2 -->|calls| f868bcb7_a6cf_106d_6974_c9ff7ec23c4e 49c92c75_359e_cd05_5fcc_f770f70a6b3f["getJndiLocator()"] 4e8e4047_7bf4_5a13_e76e_c69855afc2d2 -->|calls| 49c92c75_359e_cd05_5fcc_f770f70a6b3f e2aaeb12_896f_1454_21db_00958ea79113["lookupFirstLocation()"] 4e8e4047_7bf4_5a13_e76e_c69855afc2d2 -->|calls| e2aaeb12_896f_1454_21db_00958ea79113 style 4e8e4047_7bf4_5a13_e76e_c69855afc2d2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/OnJndiCondition.java lines 43–56
@Override
public ConditionOutcome getMatchOutcome(ConditionContext context, AnnotatedTypeMetadata metadata) {
AnnotationAttributes attributes = AnnotationAttributes
.fromMap(metadata.getAnnotationAttributes(ConditionalOnJndi.class.getName()));
Assert.state(attributes != null, "'attributes' must not be null");
String[] locations = attributes.getStringArray("value");
try {
return getMatchOutcome(locations);
}
catch (NoClassDefFoundError ex) {
return ConditionOutcome
.noMatch(ConditionMessage.forCondition(ConditionalOnJndi.class).because("JNDI class not found"));
}
}
Domain
Subdomains
Calls
- getJndiLocator()
- isJndiAvailable()
- lookupFirstLocation()
Source
Frequently Asked Questions
What does getMatchOutcome() do?
getMatchOutcome() is a function in the spring-boot codebase.
What does getMatchOutcome() call?
getMatchOutcome() calls 3 function(s): getJndiLocator, isJndiAvailable, lookupFirstLocation.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free