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
functionality. If all you need
is plain InstantiationAwareBeanPostProcessor functionality, prefer a straight
implementation of that (simpler) interface.
BeanPostProcessor
public abstract classInstantiationAwareBeanPostProcessorAdapter implements SmartInstantiationAwareBeanPostProcessor {
public Constructor[]determineCandidateConstructors(Class beanClass, String beanName) throws BeansException {
public ObjectpostProcessBeforeInstantiation(Class beanClass, String beanName) throws BeansException {
public booleanpostProcessAfterInstantiation(Object bean, String beanName) throws BeansException {
public ObjectpostProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
public ObjectpostProcessAfterInitialization(Object bean, String beanName) throws BeansException {