Handling Multiple Autowire Candidates with Spring @Qualifier

You may also like...

Leave a Reply

4 Comments on "Handling Multiple Autowire Candidates with Spring @Qualifier"

avatar
  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