public class ConfigurationWarningsApplicationContextInitializer extends Object implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.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(org.springframework.context.ConfigurableApplicationContext context) |
public ConfigurationWarningsApplicationContextInitializer()
public void initialize(org.springframework.context.ConfigurableApplicationContext context)
initialize
in interface org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
protected ConfigurationWarningsApplicationContextInitializer.Check[] getChecks()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.