TestComponentScanPackageCheck Class — spring-boot Architecture
Architecture documentation for the TestComponentScanPackageCheck class in ConfigurationWarningsApplicationContextInitializerTests.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/ConfigurationWarningsApplicationContextInitializerTests.java lines 137–157
static class TestComponentScanPackageCheck extends ComponentScanPackageCheck {
@Override
protected Set<String> getComponentScanningPackages(BeanDefinitionRegistry registry) {
Set<String> scannedPackages = super.getComponentScanningPackages(registry);
Set<String> result = new LinkedHashSet<>();
for (String scannedPackage : scannedPackages) {
if (scannedPackage.endsWith("dflt")) {
result.add("");
}
else if (scannedPackage.endsWith("orgspring")) {
result.add("org.springframework");
}
else {
result.add(scannedPackage);
}
}
return result;
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free