org.springframework.beans.factory
Interface BeanFactoryAware
public
interface BeanFactoryAware
Interface to be implemented by beans that wish to be aware of their owning
BeanFactory. Beans can e.g. look up collaborating beans via the factory.
Note that most beans will choose to receive references to collaborating
beans via respective bean properties.
For a list of all bean lifecycle methods, see the BeanFactory javadocs.
Since11.03.2003
VersionNot specified.
AuthorRod Johnson
setBeanFactory
Invoked after population of normal bean properties but before an init callback like InitializingBean's afterPropertiesSet or a custom init-method.