public abstract class InstantiationAwareBeanPostProcessorAdapter extends Object implements org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor
SmartInstantiationAwareBeanPostProcessor
as no-ops, which will not change normal processing of each bean instantiated
by the container. Subclasses may override merely those methods that they are
actually interested in.
Note that this base class is only recommendable if you actually require
InstantiationAwareBeanPostProcessorAdapter functionality. If all you need
is plain BeanPostProcessor functionality, prefer a straight
implementation of that (simpler) interface.
| 构造器和说明 |
|---|
InstantiationAwareBeanPostProcessorAdapter() |
| 限定符和类型 | 方法和说明 |
|---|---|
Constructor<?>[] |
determineCandidateConstructors(Class<?> beanClass,
String beanName) |
Object |
getEarlyBeanReference(Object bean,
String beanName) |
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
boolean |
postProcessAfterInstantiation(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInstantiation(Class<?> beanClass,
String beanName) |
org.springframework.beans.PropertyValues |
postProcessPropertyValues(org.springframework.beans.PropertyValues pvs,
PropertyDescriptor[] pds,
Object bean,
String beanName) |
Class<?> |
predictBeanType(Class<?> beanClass,
String beanName) |
public InstantiationAwareBeanPostProcessorAdapter()
public Class<?> predictBeanType(Class<?> beanClass, String beanName)
predictBeanType 在接口中 org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessorpublic Constructor<?>[] determineCandidateConstructors(Class<?> beanClass, String beanName) throws org.springframework.beans.BeansException
determineCandidateConstructors 在接口中 org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessororg.springframework.beans.BeansExceptionpublic Object getEarlyBeanReference(Object bean, String beanName) throws org.springframework.beans.BeansException
getEarlyBeanReference 在接口中 org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessBeforeInstantiation(Class<?> beanClass, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInstantiation 在接口中 org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessororg.springframework.beans.BeansExceptionpublic boolean postProcessAfterInstantiation(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInstantiation 在接口中 org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessororg.springframework.beans.BeansExceptionpublic org.springframework.beans.PropertyValues postProcessPropertyValues(org.springframework.beans.PropertyValues pvs,
PropertyDescriptor[] pds,
Object bean,
String beanName)
throws org.springframework.beans.BeansException
postProcessPropertyValues 在接口中 org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessororg.springframework.beans.BeansExceptionpublic Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization 在接口中 org.springframework.beans.factory.config.BeanPostProcessororg.springframework.beans.BeansExceptionCopyright © 2023. All rights reserved.