类 ConfigurationPropertiesBindingPostProcessor
java.lang.Object
cn.taketoday.context.properties.ConfigurationPropertiesBindingPostProcessor
- 所有已实现的接口:
Aware,BeanPostProcessor,InitializationBeanPostProcessor,InitializingBean,ApplicationContextAware,cn.taketoday.core.Ordered,cn.taketoday.core.PriorityOrdered
public class ConfigurationPropertiesBindingPostProcessor
extends Object
implements InitializationBeanPostProcessor, cn.taketoday.core.PriorityOrdered, ApplicationContextAware, InitializingBean
- 从以下版本开始:
- 4.0
- 作者:
- Dave Syer, Phillip Webb, Christian Dupuis, Stephane Nicoll, Madhura Bhave, Harry Yang
-
字段概要
字段从接口继承的字段 cn.taketoday.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) Set the ApplicationContext that this object runs in.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.beans.factory.InitializationBeanPostProcessor
postProcessAfterInitialization
-
字段详细资料
-
BEAN_NAME
The bean name that this post-processor is registered with.
-
-
构造器详细资料
-
ConfigurationPropertiesBindingPostProcessor
public ConfigurationPropertiesBindingPostProcessor()
-
-
方法详细资料
-
setApplicationContext
从接口复制的说明:ApplicationContextAwareSet the ApplicationContext that this object runs in. Normally this call will be used to initialize the object.Invoked after population of normal bean properties but before an init callback such as
InitializingBean.afterPropertiesSet()or a custom init-method. Invoked afterResourceLoaderAware.setResourceLoader(cn.taketoday.core.io.ResourceLoader),ApplicationEventPublisherAware.setApplicationEventPublisher(cn.taketoday.context.ApplicationEventPublisher)andMessageSourceAware, if applicable.- 指定者:
setApplicationContext在接口中ApplicationContextAware- 参数:
applicationContext- the ApplicationContext object to be used by this object- 抛出:
ApplicationContextException- in case of context initialization errorsBeansException- if thrown by application context methods- 另请参阅:
-
afterPropertiesSet
- 指定者:
afterPropertiesSet在接口中InitializingBean- 抛出:
Exception
-
getOrder
public int getOrder()- 指定者:
getOrder在接口中cn.taketoday.core.Ordered
-
postProcessBeforeInitialization
-
register
Register aConfigurationPropertiesBindingPostProcessorbean if one is not already registered.- 参数:
registry- the bean definition registry
-