Class ConfigurationWarningsApplicationContextInitializer
java.lang.Object
org.springframework.boot.context.ConfigurationWarningsApplicationContextInitializer
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
public class ConfigurationWarningsApplicationContextInitializer
extends Object
implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
ApplicationContextInitializer to report warnings for common misconfiguration
 mistakes.- Since:
- 1.2.0
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected static interfaceA single check that can be applied.protected static classConfigurationWarningsApplicationContextInitializer.Checkfor@ComponentScanon problematic package.protected static final classBeanDefinitionRegistryPostProcessorto report warnings.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the checks that should be applied.voidinitialize(org.springframework.context.ConfigurableApplicationContext context) 
- 
Constructor Details- 
ConfigurationWarningsApplicationContextInitializerpublic ConfigurationWarningsApplicationContextInitializer()
 
- 
- 
Method Details- 
initializepublic void initialize(org.springframework.context.ConfigurableApplicationContext context) - Specified by:
- initializein interface- org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
 
- 
getChecksReturns the checks that should be applied.- Returns:
- the checks to apply
 
 
-