title: @Inject-ed value null in @FacesComponent
body: <p>I have the impression that CDI is not working with classes that have a <code>@javax.faces.component.FacesComponent</code>. Is this true? </p>
  
  <p>Here's my example, that doesn't work. The <code>MyInjectableClass</code> is used at other points in the code where injection is not a problem, so it must be about the <code>@FacesComponent</code> annotation I think. </p>
  
  <p>The class I want to inject:</p>
  
  <pre><code>@Named
  @Stateful
  public class MyInjectableClass implements Serializable {
  
      private static final long serialVersionUID = 4556482219775071397L;
  }
  </code></pre>
  
  <p>The component which uses that class;</p>
  
  <pre><code>@FacesComponent(value = "mycomponents.mytag")
  public class MyComponent extends UIComponentBase implements Serializable {
  
      private static final long serialVersionUID = -5656806814384095309L;
  
      @Inject
      protected MyInjectableClass injectedInstance;
  
  
      @Override
      public void encodeBegin(FacesContext context) throws IOException {
          /* injectedInstance is null here */
      }
  }
  </code></pre>