类 ConfigurationPropertiesBindingPostProcessor
java.lang.Object
org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor
- 所有已实现的接口:
Aware,BeanPostProcessor,InitializingBean,ApplicationContextAware,Ordered,PriorityOrdered
public class ConfigurationPropertiesBindingPostProcessor
extends Object
implements BeanPostProcessor, PriorityOrdered, ApplicationContextAware, InitializingBean
- 从以下版本开始:
- 1.0.0
- 作者:
- Dave Syer, Phillip Webb, Christian Dupuis, Stephane Nicoll, Madhura Bhave
-
字段概要
字段从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidintgetOrder()postProcessBeforeInitialization(Object bean, String beanName) static voidregister(BeanDefinitionRegistry registry) Register aConfigurationPropertiesBindingPostProcessorbean if one is not already registered.voidsetApplicationContext(ApplicationContext applicationContext) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.springframework.beans.factory.config.BeanPostProcessor
postProcessAfterInitialization
-
字段详细资料
-
BEAN_NAME
The bean name that this post-processor is registered with.
-
-
构造器详细资料
-
ConfigurationPropertiesBindingPostProcessor
public ConfigurationPropertiesBindingPostProcessor()
-
-
方法详细资料
-
setApplicationContext
- 指定者:
setApplicationContext在接口中ApplicationContextAware- 抛出:
BeansException
-
afterPropertiesSet
- 指定者:
afterPropertiesSet在接口中InitializingBean- 抛出:
Exception
-
getOrder
public int getOrder() -
postProcessBeforeInitialization
- 指定者:
postProcessBeforeInitialization在接口中BeanPostProcessor- 抛出:
BeansException
-
register
Register aConfigurationPropertiesBindingPostProcessorbean if one is not already registered.- 参数:
registry- the bean definition registry- 从以下版本开始:
- 2.2.0
-