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.Check
null
if there are no problems.getWarning
in interface ConfigurationWarningsApplicationContextInitializer.Check
registry
- the BeanDefinitionRegistry
null
protected Set<String> getComponentScanningPackages(BeanDefinitionRegistry registry)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.