public class ConfigurationPropertiesBindingPostProcessor
extends java.lang.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 java.lang.String |
BEAN_NAME
The bean name that this post-processor is registered with.
|
| Constructor and Description |
|---|
ConfigurationPropertiesBindingPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
int |
getOrder() |
java.lang.Object |
postProcessBeforeInitialization(java.lang.Object bean,
java.lang.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 java.lang.String BEAN_NAME
public ConfigurationPropertiesBindingPostProcessor()
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 java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic java.lang.Object postProcessBeforeInitialization(java.lang.Object bean,
java.lang.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 registry