Class ConfigurationPropertiesBindingPostProcessor
java.lang.Object
org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor
- All Implemented Interfaces:
Aware
,BeanPostProcessor
,InitializingBean
,ApplicationContextAware
,Ordered
,PriorityOrdered
public class ConfigurationPropertiesBindingPostProcessor
extends Object
implements BeanPostProcessor, PriorityOrdered, ApplicationContextAware, InitializingBean
- Since:
- 1.0.0
- Author:
- Dave Syer, Phillip Webb, Christian Dupuis, Stephane Nicoll, Madhura Bhave
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The bean name that this post-processor is registered with.Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
getOrder()
postProcessBeforeInitialization
(Object bean, String beanName) static void
register
(BeanDefinitionRegistry registry) Register aConfigurationPropertiesBindingPostProcessor
bean if one is not already registered.void
setApplicationContext
(ApplicationContext applicationContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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
- Specified by:
setApplicationContext
in interfaceApplicationContextAware
- Throws:
BeansException
-
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceInitializingBean
- Throws:
Exception
-
getOrder
public int getOrder() -
postProcessBeforeInitialization
- Specified by:
postProcessBeforeInitialization
in interfaceBeanPostProcessor
- Throws:
BeansException
-
register
Register aConfigurationPropertiesBindingPostProcessor
bean if one is not already registered.- Parameters:
registry
- the bean definition registry- Since:
- 2.2.0
-