This is the ideal callback for performing field injection on the given bean instance. See Spring's own {@link org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor}for a typical example.
@param bean the bean instance created, with properties not having been set yet
@param beanName the name of the bean
@return true
if properties should be set on the bean; false
if property population should be skipped. Normal implementations should return true
. Returning false
will also prevent any subsequent InstantiationAwareBeanPostProcessor instances being invoked on this bean instance.
@throws org.springframework.beans.BeansException in case of errors
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|