This content has been marked as final.
Show 2 replies
-
1. Re: Is it possible to inject beanfactory?
alesj Sep 29, 2008 4:48 AM (in response to zenzei2k)What you can do is this 'trick':
Create a simple bean that implements BeanFactoryAware interface:
- http://static.springframework.org/spring/docs/1.0.2/api/org/springframework/beans/factory/BeanFactoryAware.html
Then simply inject this bean via @Spring,
and use its BeanFactory. ;-) -
2. Re: Is it possible to inject beanfactory?
zenzei2k Sep 29, 2008 9:55 AM (in response to zenzei2k)Thanks you very much Justin!!! I will try your solution.