-
Dec 16th, 2012, 11:33 PM
#1
How ApplicationContextAware works?
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..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules