程序包 org.springframework.boot.context
package org.springframework.boot.context
Classes related to Spring's
ApplicationContext.-
类说明An
ApplicationListenerthat saves application PID into file.ApplicationContextInitializerto report warnings for common misconfiguration mistakes.A single check that can be applied.ConfigurationWarningsApplicationContextInitializer.Checkfor@ComponentScanon problematic package.BeanDefinitionRegistryPostProcessorto report warnings.ApplicationContextInitializerthat sets the SpringApplicationContext ID.AnApplicationListenerthat halts application startup if the system file encoding does not match an expected value set in the environment.Provides exclusionTypeFiltersthat are loaded from theBeanFactoryand automatically applied toSpringBootApplicationscanning.