title: Is there an equivalent of CDI's @Default qualifier in Spring?
body: <p>In CDI, I could do this: </p>
  
  <pre><code>// Qualifier annotation
  @Qualifier
  @inteface Specific{}
  
  interface A {}
  
  class DefaultImpl implements A {}
  
  @Specific
  class SpecificImpl implements A {}
  </code></pre>
  
  <p>And then in a class:</p>
  
  <pre><code>@Inject
  A default;
  
  @Inject
  @Specific
  A specific;
  </code></pre>
  
  <p>It works because of the <code>@Default</code> qualifier automatically assigned to injection points not specifying any qualifiers.</p>
  
  <p>But I'm working with Spring and was unable to perform that. </p>
  
  <pre><code>Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException
  </code></pre>
  
  <p>The problem is that the "default" injections (without qualifiers) are already used in lot of code I can't change, and I need to provide another possible implementation of <code>A</code> for my users.  </p>
  
  <p>I'm aware that I could inject my new implementation by bean name, but I would like to avoid it.</p>
  
  <p>Is there anything in Spring that could help me achieve it?</p>