|
From: Marc L. <ma...@lo...> - 2005-04-08 23:10:24
|
Hi, wasnt aware of that new feature of RC1, thats nice. Its the halfway of my proposal ;-) Of course you are right by saying that auto-wiring will help me here but call me conservative, i am not a big fan of it because of possible sideeffects and i want to have documented on bean basis what will be injected and what not. But the "ref" attribute in RC1 is a fair tradeoff between readability/flexibility and verbosity. I will go this route. thx for pointing out and boy, its hard to follow all that new features, which is good of course <g>. Juergen Hoeller wrote: > On a related note: Since Spring 1.2 RC1, there are "ref" and "value" > shortcut attributes on the <property> tag (and others): > > <property name="logisticProviderManagerService" > ref="logisticProviderManagerService"/> > > Of course, this still explicitly mentions the name of the bean. As I said, > autowire-by-name is probably what you're looking for then. > -- regards Marc Logemann http://www.logemann.org http://www.logentis.de |