Re: How to use @Inject

2014-03-31 Thread Alex Ough
It seems like I wrote a wrong type in ComponentContext. getComponent(RmapDao.class). It should be ComponentContext.getComponent(DomainDao.class) Thanks Alex Ough On Mon, Mar 31, 2014 at 5:53 PM, Alex Ough wrote: > All, > > I'm trying to change "ComponentContext.getComponent(RmapDao.class)" to

How to use @Inject

2014-03-31 Thread Alex Ough
All, I'm trying to change "ComponentContext.getComponent(RmapDao.class)" to using @Inject, but I can't get the Dao object even after adding a configuration file with below information. http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";