protected static class ConfigurationWarningsApplicationContextInitializer.ComponentScanPackageCheck extends Object implements ConfigurationWarningsApplicationContextInitializer.Check
ConfigurationWarningsApplicationContextInitializer.Check for @ComponentScan on problematic package.| Modifier | Constructor and Description |
|---|---|
protected |
ComponentScanPackageCheck() |
| Modifier and Type | Method and Description |
|---|---|
protected Set<String> |
getComponentScanningPackages(BeanDefinitionRegistry registry) |
String |
getWarning(BeanDefinitionRegistry registry)
Returns a warning if the check fails or
null if there are no problems. |
public String getWarning(BeanDefinitionRegistry registry)
ConfigurationWarningsApplicationContextInitializer.Checknull if there are no problems.getWarning in interface ConfigurationWarningsApplicationContextInitializer.Checkregistry - the BeanDefinitionRegistrynullprotected Set<String> getComponentScanningPackages(BeanDefinitionRegistry registry)