A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
overloaded constructor in constructor injection
Joined: May 29, 2012
May 29, 2012 22:38:07
can any one please let me know For dependincy injection using constructor , if i have two overloaded constructors in class , how do you make sure that a particular version of constructor is invoked .
Joined: Mar 11, 2011
May 30, 2012 04:05:20
In the single page Spring 3.1 docs:
The end of the following section answers your question:
It is sorta covered in the
JavaRanch Style Guide
subject: overloaded constructor in constructor injection
DI - Constructor injection / Setter Injection ?
WA #1.....word association
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014