Spring's BeanFactoryAware Interface

Spring’s BeanFactoryAware Interface

Checkout my courses on the Spring Framework! Learn more! http://bit.ly/1RPhI2A

Occasionally, when developing applications with the Spring Framework, you will need to access the bean factory. If your Spring bean implements the BeanFactoryAware interface, the Spring Framework will inject the bean factory into your Spring bean during the creation phase of the Spring Bean lifecycle.

#spring #framework

Spring's BeanFactoryAware Interface