public class ConfigurationPropertiesBindingPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.core.PriorityOrdered, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_NAME
The bean name that this post-processor is registered with.
|
static String |
VALIDATOR_BEAN_NAME
Deprecated.
since 2.2.0 in favor of
EnableConfigurationProperties.VALIDATOR_BEAN_NAME |
| Constructor and Description |
|---|
ConfigurationPropertiesBindingPostProcessor()
Deprecated.
since 2.2.0 in favor of
@EnableConfigurationProperties or
register(BeanDefinitionRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
int |
getOrder() |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
static void |
register(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
Register a
ConfigurationPropertiesBindingPostProcessor bean if one is not
already registered. |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public static final String BEAN_NAME
@Deprecated public static final String VALIDATOR_BEAN_NAME
EnableConfigurationProperties.VALIDATOR_BEAN_NAME@Deprecated public ConfigurationPropertiesBindingPostProcessor()
@EnableConfigurationProperties or
register(BeanDefinitionRegistry)ConfigurationPropertiesBindingPostProcessor instance.public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionpublic static void register(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
ConfigurationPropertiesBindingPostProcessor bean if one is not
already registered.registry - the bean definition registryCopyright © 2019 Pivotal Software, Inc.. All rights reserved.