Hi, I just want to ask how does implimentation of ApplicationContextAware works? In my application, I want to configure my beans in applicationcontext.xml to be 'request' scoped. But it seems that my current beanfactory which is ClassPathXmlApplicationContext does not support this type of bean scoping. XmlWebApplicationContext does. I read many articles about this issue and found out that my applicationcontext should be 'web-aware'. And then i came to this post - http://blog.imaginea.com/making-a-sp...context-aware/ . My question is, does the implimentation of ApplicationContextAware returns a XmlWebApplicationContext? Thank you for your help..
Announcement Announcement Module
No announcement yet.
How ApplicationContextAware works? Page Title Module
Move Remove Collapse