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
  • Constructor Details

    • ConfigurationWarningsApplicationContextInitializer

      public ConfigurationWarningsApplicationContextInitializer()
  • Method Details

    • initialize

      public void initialize(org.springframework.context.ConfigurableApplicationContext context)
      Specified by:
      initialize in interface org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
    • getChecks

      Returns the checks that should be applied.
      Returns:
      the checks to apply