public class ConfigurationPropertiesBindingPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.EnvironmentAware, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.core.PriorityOrdered
Modifier and Type | Field and Description |
---|---|
static String |
VALIDATOR_BEAN_NAME
The bean name of the configuration properties validator.
|
Constructor and Description |
---|
ConfigurationPropertiesBindingPostProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
int |
getOrder()
Return the order of the bean.
|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setBeanMetaDataStore(ConfigurationBeanFactoryMetaData beans)
Set the bean meta-data store.
|
void |
setEnvironment(org.springframework.core.env.Environment environment) |
public static final String VALIDATOR_BEAN_NAME
public ConfigurationPropertiesBindingPostProcessor()
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setBeanMetaDataStore(ConfigurationBeanFactoryMetaData beans)
beans
- the bean meta data storepublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) throws org.springframework.beans.BeansException
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
org.springframework.beans.BeansException
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment
in interface org.springframework.context.EnvironmentAware
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.