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