类 ConfigurationWarningsApplicationContextInitializer.ComponentScanPackageCheck
java.lang.Object
org.springframework.boot.context.ConfigurationWarningsApplicationContextInitializer.ComponentScanPackageCheck
protected static class ConfigurationWarningsApplicationContextInitializer.ComponentScanPackageCheck
extends Object
implements ConfigurationWarningsApplicationContextInitializer.Check
ConfigurationWarningsApplicationContextInitializer.Check for @ComponentScan on problematic package.-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明getWarning(BeanDefinitionRegistry registry) Returns a warning if the check fails ornullif there are no problems.
-
构造器详细资料
-
ComponentScanPackageCheck
protected ComponentScanPackageCheck()
-
-
方法详细资料
-
getWarning
Returns a warning if the check fails ornullif there are no problems.- 指定者:
getWarning在接口中ConfigurationWarningsApplicationContextInitializer.Check- 参数:
registry- theBeanDefinitionRegistry- 返回:
- a warning message or
null
-
getComponentScanningPackages
-