title: Is it possible to inject a CDI Bean into a static variable in Java EE 6?
body: <p>Is this possible: </p>
  
  <pre><code>@Inject
  @MessageTransport(MessageTransportType.SMS)
  public static MessageSender messageSender;
  </code></pre>
  
  <p>I'm getting a NPE when i'm trying to access this static variable. So I wonder, if it is not possible in general.</p>
  
  <p>Thanks in advance.</p>