|
From: Lieven D. <lie...@ji...> - 2008-07-08 15:54:01
|
Hello Peter, I've just checked the code and when you're using autowiring and component scanning, a problem occurs: The ApplicationContext implementation is responsible for creating an Application, whereas I would let the container do this (annotate your Application and let the component scan handle the instantiation). However, since the ApplicationContext constructs the Spring container, one cannot inject the scanned Application into the ApplicationContext. Hence the services are injected correctly (with my annotated Application), but the ApplicationContext holds his own created Application... Can't see a solution atm... Greetz, Lieven > ---------------------------------------------------------------------- > --- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Springframework-rcp-dev mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev |