Spring Spring Core

Generics as Auto-wiring Qualifiers

When we are using more than one implementation for a Type, we use @Qualifier annotation as explained in this article. We don’t want to use @Qualifier annotation when using Generics as shown in the below example. Step 1 : Create Maven project and name it as GenericsAsQualifiers and copy below dependencies in pom.xml file. Step […]