File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Badass: Making Users Awesome
this week in the
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:
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: overloaded constructor in constructor injection
WA #1.....word association
DI - Constructor injection / Setter Injection ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015