|
From: Rob H. <rob...@in...> - 2005-11-24 13:11:07
|
It is indeed very cool. What is also interesting is the support for bootstrapping Spring inside a J2SE environment using AspectJ. Not really thought about field injection that much, because I'm not really a fan. It makes testing a class a real pain in my experience. Of course, if there is real community interest in having field level injection then it is a trivial feature to add. Rob Magnus Heino wrote: >2005/11/23, Rob Harrop <rob...@in...>: > > >>The code from the blog entry you suggested will make it into the 1.3 >>release in time for RC1. Also, I am hoping to release DIIFactoryBean in >>RC2 which should give you plenty of options. >> >>The AspectJ solution is certainly my preference. >> >> > >This is very cool! :-) > >So, using this stuff and some implementation of SPR-1047, I can >configure all beans using just a @Bean annotation and be sure that my >dependencies are setup ok? > >Are there any thoughts on not needing the setter method for required >properties? I mean, if you have a @RequiredProperty or simular set on >a property that should be validated, why also have a setter? Something >like the EJB3 @Resource annotation I guess. > >/Magnus > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_idv37&alloc_id865&op=click >_______________________________________________ >Springframework-developer mailing list >Spr...@li... >https://lists.sourceforge.net/lists/listinfo/springframework-developer > > > -- Rob Harrop Principal Consultant Interface21 - Spring Services from the Source http://www.springframework.com |