|
From: <jue...@we...> - 2004-06-25 17:18:34
|
While this would be easy enough to add, I doubt that many people will = use it. IMHO, it feels a bit odd to first implement an interface that = specifies a setter and then still apply the property value via a = "property" key (which has to match the bean property of the setter in = the interface). =20 If we do magic anyway, why not assume that the injection interface = specifies a single method with a single parameter? We could then invoke = that method with the specified argument value. This would at least = remove the "property" redundancy. =20 I understand that this was the first way of IoC that XWork/WebWork2 = supported, but I'm not convinced that it is really recommendable. Feel = free to argue about that :-) =20 Juergen =20 ________________________________ Von: spr...@li... im Auftrag = von James Cook Gesendet: Fr 25.06.2004 15:40 An: spr...@li... Betreff: RE: [Springframework-developer] IoC container enhancements Since you are enhancing the injection support for the container, do you think it is worthwhile adding syntax to support Type 1 (Interface = Injection) IoC? http://opensource.atlassian.com/confluence/spring/display/DISC/Adding+Int= erf ace+Injection+to+Spring > -----Original Message----- > From: spr...@li... > [mailto:spr...@li...] On = Behalf > Of Rod Johnson > Sent: Friday, June 25, 2004 3:50 AM > To: spr...@li... > Subject: Re: [Springframework-developer] IoC container enhancements > > > Lookup methods can be combined with Setter Injection. They > > can't presently be combined with Constructor Injection, but I > > will add support for this, assuming that it's possible with > > CGLIB. > > > I've just removed this restriction. > > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |