title: Spring list beans by type
body: <p>Is there a way in Spring that I can auto populate a list with all of beans of a type AND any of its subtypes? I have a setter method that looks like:</p>
  
  <pre><code>setMyProp(List&lt;MyType&gt; list)
  </code></pre>
  
  <p>And I would like to autowire in any beans of MyType and all subclasses of MyType.</p>
  
  <p>Thanks,
  Jeff</p>