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 maintain
that huge constructor arg list above. It also make is easy for people
to reuse the factory in test cases.

You mean it should've rather used setter injection?

Yes.

-dain

Reply via email to