public class ConfigurationPropertiesBindingPostProcessor extends Object implements BeanPostProcessor, PriorityOrdered, ApplicationContextAware, InitializingBean
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_NAME
The bean name that this post-processor is registered with.
|
static String |
VALIDATOR_BEAN_NAME
Deprecated.
since 2.2.0 in favor of
EnableConfigurationProperties.VALIDATOR_BEAN_NAME |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ConfigurationPropertiesBindingPostProcessor()
Deprecated.
since 2.2.0 in favor of
@EnableConfigurationProperties or
register(BeanDefinitionRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
int |
getOrder() |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
static void |
register(BeanDefinitionRegistry registry)
Register a
ConfigurationPropertiesBindingPostProcessor bean if one is not
already registered. |
void |
setApplicationContext(ApplicationContext applicationContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
postProcessAfterInitialization
public static final String BEAN_NAME
@Deprecated public static final String VALIDATOR_BEAN_NAME
EnableConfigurationProperties.VALIDATOR_BEAN_NAME
@Deprecated public ConfigurationPropertiesBindingPostProcessor()
@EnableConfigurationProperties
or
register(BeanDefinitionRegistry)
ConfigurationPropertiesBindingPostProcessor
instance.public void setApplicationContext(ApplicationContext applicationContext) throws BeansException
setApplicationContext
in interface ApplicationContextAware
BeansException
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException
postProcessBeforeInitialization
in interface BeanPostProcessor
BeansException
public static void register(BeanDefinitionRegistry registry)
ConfigurationPropertiesBindingPostProcessor
bean if one is not
already registered.registry
- the bean definition registryCopyright © 2020 Pivotal Software, Inc.. All rights reserved.