public class ConfigurationPropertiesBindingPostProcessor extends Object implements BeanPostProcessor, BeanFactoryAware, ResourceLoaderAware, EnvironmentAware, ApplicationContextAware, InitializingBean, DisposableBean, PriorityOrdered
Modifier and Type | Field and Description |
---|---|
static String |
VALIDATOR_BEAN_NAME |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ConfigurationPropertiesBindingPostProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
destroy() |
int |
getOrder() |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setConversionService(ConversionService conversionService) |
void |
setEnvironment(Environment environment) |
void |
setOrder(int order) |
void |
setPropertySources(PropertySources propertySources) |
void |
setResourceLoader(ResourceLoader resourceLoader) |
void |
setValidator(Validator validator) |
public static final String VALIDATOR_BEAN_NAME
public ConfigurationPropertiesBindingPostProcessor()
public void setOrder(int order)
order
- the order to setpublic void setPropertySources(PropertySources propertySources)
propertySources
- public void setValidator(Validator validator)
validator
- the validator to setpublic void setConversionService(ConversionService conversionService)
conversionService
- the conversionService to setpublic void setBeanFactory(BeanFactory beanFactory) throws BeansException
setBeanFactory
in interface BeanFactoryAware
BeansException
public void setResourceLoader(ResourceLoader resourceLoader)
setResourceLoader
in interface ResourceLoaderAware
public void setEnvironment(Environment environment)
setEnvironment
in interface EnvironmentAware
public void setApplicationContext(ApplicationContext applicationContext)
setApplicationContext
in interface ApplicationContextAware
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public void destroy() throws Exception
destroy
in interface DisposableBean
Exception
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException
postProcessBeforeInitialization
in interface BeanPostProcessor
BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization
in interface BeanPostProcessor
BeansException
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.