public class ConfigurationWarningsApplicationContextInitializer extends Object implements ApplicationContextInitializer<ConfigurableApplicationContext>
ApplicationContextInitializer
to report warnings for common misconfiguration
mistakes.Modifier and Type | Class and Description |
---|---|
protected static interface |
ConfigurationWarningsApplicationContextInitializer.Check
A single check that can be applied.
|
protected static class |
ConfigurationWarningsApplicationContextInitializer.ComponentScanPackageCheck
ConfigurationWarningsApplicationContextInitializer.Check for @ComponentScan on problematic package. |
protected static class |
ConfigurationWarningsApplicationContextInitializer.ConfigurationWarningsPostProcessor
BeanDefinitionRegistryPostProcessor to report warnings. |
Constructor and Description |
---|
ConfigurationWarningsApplicationContextInitializer() |
Modifier and Type | Method and Description |
---|---|
protected ConfigurationWarningsApplicationContextInitializer.Check[] |
getChecks()
Returns the checks that should be applied.
|
void |
initialize(ConfigurableApplicationContext context) |
public ConfigurationWarningsApplicationContextInitializer()
public void initialize(ConfigurableApplicationContext context)
initialize
in interface ApplicationContextInitializer<ConfigurableApplicationContext>
protected ConfigurationWarningsApplicationContextInitializer.Check[] getChecks()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.