protected static class ConfigurationWarningsApplicationContextInitializer.ComponentScanDefaultPackageCheck extends Object implements ConfigurationWarningsApplicationContextInitializer.Check
ConfigurationWarningsApplicationContextInitializer.Check
for @ComponentScan
on the default package.Modifier | Constructor and Description |
---|---|
protected |
ComponentScanDefaultPackageCheck() |
Modifier and Type | Method and Description |
---|---|
String |
getWarning(BeanDefinitionRegistry registry)
Returns a warning if the check fails or
null if there are no problems. |
protected boolean |
isInDefaultPackage(String className) |
public String getWarning(BeanDefinitionRegistry registry)
ConfigurationWarningsApplicationContextInitializer.Check
null
if there are no problems.getWarning
in interface ConfigurationWarningsApplicationContextInitializer.Check
registry
- the BeanDefinitionRegistry
null
protected boolean isInDefaultPackage(String className)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.