
What is @Primary Annotation ? - Spring & Spring Boot Annotations Series #4
319
7________
In this video, we are going to discuss about the @Primary .
Spring Annotation
Spring Boot Annotation
learn to use @Primary annotation in spring boot.
We use @Primary to give higher preference to a bean when there are multiple beans of the same type.
This is used to remove the ambiguity issue to the spring IOC Container.
コメント