Handling Multiple Autowire Candidates with Spring @Qualifier

You may also like...

4
Leave a Reply

avatar
2 Comment threads
2 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
3 Comment authors
MemoryNotFoundManojNeeraj Yadav Recent comment authors
  Subscribe  
newest oldest
Notify of
Neeraj Yadav
Guest
Neeraj Yadav

I see that you used Field autowiring with Qualifier to wire the two dependencies. But how is this done using constructor autowiring?

Manoj
Guest
Manoj

If we have same implementation class how it can be done how we can created two different instances of class and inject as bean