title: Prevent autowiring by type for certain beans in Spring
body: <p>In my spring context I am creating a service bean and a proxy for this service bean (explicitly). Both implement the same interface.</p>
  
  <p>Can I ensure that autowiring cannot inject the target bean?</p>
  
  <p>I would like to be able to use the target service with the @Resource or @Qualifier annotations, but when autowiring it should always be the proxy.</p>
  
  <p>Any ideas?</p>