[spring] How does Spring autowire by name when more than one matching bean is found?