wood burning stoves 2.0
The moose likes Spring and the fly likes overloaded constructor in constructor injection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "overloaded constructor in constructor injection" Watch "overloaded constructor in constructor injection" New topic

overloaded constructor in constructor injection

siri Makkapati

Joined: May 29, 2012
Posts: 1
Hi all,

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 .

Reginald Blank

Joined: Mar 11, 2011
Posts: 18
In the single page Spring 3.1 docs:


The end of the following section answers your question:

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: overloaded constructor in constructor injection
jQuery in Action, 3rd edition