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.
|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
ConfigurationPropertiesBindingPostProcessor() |
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
public ConfigurationPropertiesBindingPostProcessor()
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 registry