Spring lookup method injection with parameters -
is there way use spring lookup method inject parameters? example, want able instantiate prototype-scoped beans while passing them arbitrary parameters via constructor.
you can inject them via field/setter injection. (note constructor injection frowned upon spring, although it's supported)
Comments
Post a Comment