类 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.
构造器概要
构造器 限定符 构造器 说明 protected
ComponentScanPackageCheck()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected Set<String>
getComponentScanningPackages(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
String
getWarning(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Returns a warning if the check fails ornull
if there are no problems.
构造器详细资料
ComponentScanPackageCheck
protected ComponentScanPackageCheck()
方法详细资料
getWarning
public String getWarning(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Returns a warning if the check fails ornull
if there are no problems.- 指定者:
getWarning
在接口中ConfigurationWarningsApplicationContextInitializer.Check
- 参数:
registry
- theBeanDefinitionRegistry
- 返回:
- a warning message or
null
getComponentScanningPackages
protected Set<String> getComponentScanningPackages(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)