@Autowired

In this tutorial, you will learn how to use the @Autowired and @Qualifier annotations together to inject a specific instance of a Bean. Sometimes you might have more than one implementation of an interface and if you do not explicitly specify which one you would like to inject, you will get an NoUniqueBeanDefinitionException when starting up…

Read More How to Use @Autowired and @Qualifier in Spring