SpringSource/spring-framework — pull request #84 by nurkiewicz (2012-05-25 18:12:14+00:00)
Title: Passing lookup-method args to bean constructor

should allow specifying any number of parameters.
These parameters should be passed directly to the constructor of the
newly created bean.

Previously had to be parameterless. Now if you provide
any parameters to that method, they are passes directly (1 to 1) to the
bean constructor, just like if they were declared using
. The idea was originally suggested here:

http://nurkiewicz.blogspot.com/2010/08/creating-prototype-spring-beans-on.html

This change is based entirely on a patch provided by Karl Pietrzak.

I submitted CLA.

Issue: SPR-7431