Class ConfigurationPropertiesBindingPostProcessor
java.lang.Object
org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered
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
- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe bean name that this post-processor is registered with.Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintgetOrder()postProcessBeforeInitialization(Object bean, String beanName) static voidregister(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) Register aConfigurationPropertiesBindingPostProcessorbean if one is not already registered.voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.config.BeanPostProcessor
postProcessAfterInitialization
-
Field Details
-
BEAN_NAME
The bean name that this post-processor is registered with.
-
-
Constructor Details
-
ConfigurationPropertiesBindingPostProcessor
public ConfigurationPropertiesBindingPostProcessor()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
afterPropertiesSet
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
postProcessBeforeInitialization
-
register
public static void register(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) Register aConfigurationPropertiesBindingPostProcessorbean if one is not already registered.- Parameters:
registry- the bean definition registry- Since:
- 2.2.0
-