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.Checknull if there are no problems.getWarning in interface ConfigurationWarningsApplicationContextInitializer.Checkregistry - the BeanDefinitionRegistrynullprotected boolean isInDefaultPackage(String className)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.