Spring & Spring Boot Annotations Series - #3 - @Qualifier Annotation

preview_player
Показать описание
Hi, welcome to Spring & Spring Boot Annotations Series. In this video, we will learn how to use @Qualifier annotation to avoid confusion when we have two or more beans configured for the same type.

@Qualifier annotation is used in conjunction with Autowired to avoid confusion when we have two or more beans configured for the same type.

#spring #springboot #annotations
Рекомендации по теме
Комментарии
Автор

Simplest explanation I've ever seen ❤

nagarjunbn
Автор

Lost in the world of funds - a poetic reflection on the journey to reclaim them.

Christopher__kv
Автор

Cash coming your way: notification alert

Michael___bm
Автор

Thanks for your time bro.. i have been following your videos from long time and tqs again for providing these useful one's

HariKrishna-irmx
Автор

Thank you so much, pls keep making more of these sir

ashirbad
Автор

Nice bro, please post many annotations like this in spring boot

Nantha-kumar
Автор

nice explanation sir, I have also seen your course on udemy

letsdefine
Автор

You did not discuss the most obvious point : What is the difference between using the interface and the qualifier (like you did) vs. using the implementing class itself in the constructor ? You simply dumped the abstraction, if I understand it right.

geosystems
Автор

didn't using @qualifier defeats polymorphic design ? We code to interface so that we polymorphically resolve method definitions .

rishavraj