title: Inject list of objects in CDI (Weld)
body: <p>Let's say I have an interface called <code>SocialNetworkService</code>, and three implementations - <code>TwitterService</code>, <code>FacebookService</code> and <code>FriendFeedService</code>.</p>
  
  <p>Now I want, whenever my managed bean (or whatever web component) receives a message, to share it in all social networks. I tried:</p>
  
  <pre><code>@Inject private List&lt;SocialNetworkService&gt; socialNetworkServices;
  </code></pre>
  
  <p>But it didn't work (deployment error). (Also tried to the <code>@Any</code> qualifier - same result)</p>
  
  <p>So, is there a way to inject a list of all (or some) implementations of an interface?</p>
  
  <p>I know the rule that a given injection point should not have more than one possible bean. I guess I can achieve that by making a producer that produces the list, and using <code>Instance&lt;SocialNetworkService&gt;</code>, but that seems like too much for this task.</p>