On Mar 17, 2008, at 12:15 AM, Jacek Laskowski wrote:
On Sun, Mar 16, 2008 at 6:41 PM, Dain Sundstrom <[EMAIL PROTECTED]> wrote:If you have a custom factory class, it is better to not use constructor injection, so you don't have to do stuff like maintainthat huge constructor arg list above. It also make is easy for peopleto reuse the factory in test cases.You mean it should've rather used setter injection?
Yes. -dain
