Package org.grails.boot.context
Class GrailsConfigurationWarningsApplicationContextInitializer
- java.lang.Object
-
- org.grails.boot.context.GrailsConfigurationWarningsApplicationContextInitializer
-
- All Implemented Interfaces:
org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
public class GrailsConfigurationWarningsApplicationContextInitializer extends java.lang.Object implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>ApplicationContextInitializerto report warnings for common misconfiguration mistakes.- Since:
- 2022.0.0
- See Also:
GrailsComponentScan,ApplicationContextInitializer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interfaceGrailsConfigurationWarningsApplicationContextInitializer.CheckA single check that can be applied.protected static classGrailsConfigurationWarningsApplicationContextInitializer.ComponentScanPackageCheckGrailsConfigurationWarningsApplicationContextInitializer.Checkfor@GrailsComponentScanon problematic package.protected static classGrailsConfigurationWarningsApplicationContextInitializer.ConfigurationWarningsPostProcessorBeanDefinitionRegistryPostProcessorto report warnings.
-
Constructor Summary
Constructors Constructor Description GrailsConfigurationWarningsApplicationContextInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GrailsConfigurationWarningsApplicationContextInitializer.Check[]getChecks()Returns the checks that should be applied.voidinitialize(org.springframework.context.ConfigurableApplicationContext context)
-
-
-
Method Detail
-
initialize
public void initialize(org.springframework.context.ConfigurableApplicationContext context)
- Specified by:
initializein interfaceorg.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
-
getChecks
protected GrailsConfigurationWarningsApplicationContextInitializer.Check[] getChecks()
Returns the checks that should be applied.- Returns:
- the checks to apply
-
-