Eclipse
Making a Spring bean Applicationcontext aware
Suppose we have a webapplication with spring, and we are initializing spring’s WebApplicationContext by configuring ContextLoaderListener in web.xml. How can we get an instance…