BeanNameAware , MessageSourceAware and ResourceLoaderAware

Bean implementing BeanNameAware interface can get its name defined in the Spring container. Bean implementing MessageSourceAware interface can get the access to message source object which is used to achieve internationalization Bean implementing ResourceLoaderAware interface can load the resources from the classpath or any external file. Let’s write a class which implements the above interfaces […]

Share this article on