title: Inject Instance<Interface> : Spring and CDI compatibility
body: <p>I am wondering how can I use the <a href="http://docs.oracle.com/javaee/6/api/javax/enterprise/inject/Instance.html" rel="nofollow noreferrer">Instance</a> in JUnit4 with Spring</p>
  
  <pre><code>@Inject
  Instance&lt;IMyInterface&gt; interfaces;
  </code></pre>
  
  <p>If I use</p>
  
  <pre><code>@Inject
  List&lt;IMyInterface&gt; interfaces;
  </code></pre>
  
  <p>It works in Spring but not with CDI.<br>
  Also, we can use <a href="http://docs.oracle.com/javaee/6/api/javax/inject/Provider.html" rel="nofollow noreferrer">Provider</a> with both CDI and Spring but it's not Iterable. </p>