public class ConfigurationPropertiesBindingPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.BeanFactoryAware, org.springframework.context.ResourceLoaderAware, org.springframework.context.EnvironmentAware, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
static String |
VALIDATOR_BEAN_NAME |
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(org.springframework.context.ApplicationContext applicationContext) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setConversionService(org.springframework.core.convert.ConversionService conversionService) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
void |
setOrder(int order) |
void |
setPropertySources(org.springframework.core.env.PropertySources propertySources) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
void |
setValidator(org.springframework.validation.Validator validator) |
public static final String VALIDATOR_BEAN_NAME
public ConfigurationPropertiesBindingPostProcessor()
public void setOrder(int order)
order
- the order to setpublic int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setPropertySources(org.springframework.core.env.PropertySources propertySources)
propertySources
- public void setValidator(org.springframework.validation.Validator validator)
validator
- the validator to setpublic void setConversionService(org.springframework.core.convert.ConversionService conversionService)
conversionService
- the conversionService to setpublic 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 setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader
in interface org.springframework.context.ResourceLoaderAware
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 void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
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 © 2014. All rights reserved.