Package org.springframework.boot.context
Class ConfigurationWarningsApplicationContextInitializer.ComponentScanPackageCheck
java.lang.Object
org.springframework.boot.context.ConfigurationWarningsApplicationContextInitializer.ComponentScanPackageCheck
- All Implemented Interfaces:
ConfigurationWarningsApplicationContextInitializer.Check
- Enclosing class:
- ConfigurationWarningsApplicationContextInitializer
protected static class ConfigurationWarningsApplicationContextInitializer.ComponentScanPackageCheck
extends Object
implements ConfigurationWarningsApplicationContextInitializer.Check
ConfigurationWarningsApplicationContextInitializer.Check
for @ComponentScan
on problematic package.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetComponentScanningPackages
(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) getWarning
(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) Returns a warning if the check fails ornull
if there are no problems.
-
Constructor Details
-
ComponentScanPackageCheck
protected ComponentScanPackageCheck()
-
-
Method Details
-
getWarning
Description copied from interface:ConfigurationWarningsApplicationContextInitializer.Check
Returns a warning if the check fails ornull
if there are no problems.- Specified by:
getWarning
in interfaceConfigurationWarningsApplicationContextInitializer.Check
- Parameters:
registry
- theBeanDefinitionRegistry
- Returns:
- a warning message or
null
-
getComponentScanningPackages
-