类 ConfigurationPropertiesBindingPostProcessor
- java.lang.Object
- org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor
- 所有已实现的接口:
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
字段概要
字段 修饰符和类型 字段 说明 static String
BEAN_NAME
The bean name that this post-processor is registered with.static String
VALIDATOR_BEAN_NAME
The bean name of the configuration properties validator.
构造器概要
构造器 构造器 说明 ConfigurationPropertiesBindingPostProcessor()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
afterPropertiesSet()
int
getOrder()
Object
postProcessBeforeInitialization(Object bean, String beanName)
void
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
字段详细资料
BEAN_NAME
public static final String BEAN_NAME
The bean name that this post-processor is registered with.
VALIDATOR_BEAN_NAME
public static final String VALIDATOR_BEAN_NAME
The bean name of the configuration properties validator.- 另请参阅:
- 常量字段值
构造器详细资料
ConfigurationPropertiesBindingPostProcessor
public ConfigurationPropertiesBindingPostProcessor()
方法详细资料
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
- 指定者:
setApplicationContext
在接口中org.springframework.context.ApplicationContextAware
- 抛出:
org.springframework.beans.BeansException
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- 指定者:
afterPropertiesSet
在接口中org.springframework.beans.factory.InitializingBean
- 抛出:
Exception
getOrder
public int getOrder()
- 指定者:
getOrder
在接口中org.springframework.core.Ordered
postProcessBeforeInitialization
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
- 指定者:
postProcessBeforeInitialization
在接口中org.springframework.beans.factory.config.BeanPostProcessor
- 抛出:
org.springframework.beans.BeansException