In this video, we are going to discuss about the @Qualifier annotation .
Spring Annotation
Spring Boot Annotation
- Used in conjunction with autowired.
- It solve the problem of which bean needs to be injected by autowired annotation
-If we have more than one bean of the same type and want to wire only one of them then use the @Qualifier annotation along with @Autowired to specify which exact bean will be wired.
Негізгі бет What is @Qualifier Annotation - @Autowired Annotation? - Spring & Spring Boot Annotations Series #3
Пікірлер