title: How to declare a Spring bean autowire-candidate="false" when using annotations?
body: <p>I am using <code>@ComponentScan</code> and <code>@Component</code> to define my spring beans. What I would like is to declare one of these beans to be <code>autowire-candidate=false</code>. </p>
  
  <p>This could be done with this attribute in xml. Isn't there the equivalent in annotations? </p>
  
  <p>The reason I want this is because I have 2 implementations of the same interface and I don't want to use <code>@Qualifier</code>.</p>
  
  <p>EDIT: Using @Primary is a valid work-around, but autowire-candidate seems to me like a useful feature with its own semantics.</p>
  
  <p>Thanks</p>