Using autowire when multiple implementation are available
Groovy
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src
.travis.yml
README.md
build.gradle
gradlew
gradlew.bat

README.md

Spring autowire with qualifiers

This is source code for blog post http://przybyszd.blogspot.com/2015/12/spring-autowire-with-qualifiers.html

Autowire:

  • one implementation - branch oneImplementation
  • two implementations - branch twoImplementations (test of course fails)
  • two implementation with qualifier - branch twoImplementationWithQualifier
  • two implementation based on field name - branch twoImplementaitonBasedOnFieldName
  • two implementation with primary - branch twoImplementationWithPrimary