If You are developing application using Spring then sometime it's important that your beans aware about Spring IOC container resources. Here, Spring Aware comes into picture.
To use Aware Interfaces, You bean class should implement aware interfaces. and That's way they will be aware about container resources. I like to use these interfaces :)
Common Aware Interfaces used in Spring 3.2:
To use Aware Interfaces, You bean class should implement aware interfaces. and That's way they will be aware about container resources. I like to use these interfaces :)
Common Aware Interfaces used in Spring 3.2:
- BeanNameAware
- ApplicationContextAware
- BeanFactoryAware
- MessageSourceAware
- ApplicationEventPublisherAware
- ResourceLoaderAware