adspace


What is @qualifier annotation in spring?

Answer Posted / Meraj Itrat

@Qualifier annotation is used in Spring to identify the specific bean when multiple beans of the same type are present in the application context. It helps to avoid ambiguity during dependency injection by specifying the exact bean instance that needs to be injected.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you inject java collection in spring?

518


What is difference between @controller and @restcontroller in spring?

556


What is lazy class?

490