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

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -