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 TypeMethodDescriptiongetWarning
(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
-