protected static class ConfigurationWarningsApplicationContextInitializer.ComponentScanDefaultPackageCheck extends Object implements ConfigurationWarningsApplicationContextInitializer.Check
ConfigurationWarningsApplicationContextInitializer.Check
for @ComponentScan
on the default package.Modifier | Constructor and Description |
---|---|
protected |
ConfigurationWarningsApplicationContextInitializer.ComponentScanDefaultPackageCheck() |
Modifier and Type | Method and Description |
---|---|
String |
getWarning(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Returns a warning if the check fails or
null if there are no problems. |
protected boolean |
isInDefaultPackage(String className) |
protected ConfigurationWarningsApplicationContextInitializer.ComponentScanDefaultPackageCheck()
public String getWarning(org.springframework.beans.factory.support.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 © 2014 Pivotal Software, Inc.. All rights reserved.