title: Obtain injection point list from @RequestScope bean
body: <p>I have <code>@RequestScoped</code> (RequestBean) CDI bean which is injected into two different <code>@ViewScope</code> JSF <code>@ManagedBean</code>'s (<code>FirstViewBean</code> and <code>SecondViewBean</code>). I want obtain list of RequestBean's injection points. How can I do it? Listing is bellow.</p>
  
  <p><strong>RequestBean:</strong></p>
  
  <pre><code>@RequestScoped
  public class RequestBean {
  
      public void logPoints() {
            System.out.println(getInjectionPoints());
      }
  
      private List&lt;InjectionPoint&gt; getInjectionPoints() {
            List&lt;InjectionPoint&gt; result = null;
            // ...
            return result;
      }
  }
  </code></pre>
  
  <p><strong>FirstViewBean:</strong></p>
  
  <pre><code>@ViewScoped
  @ManagedBean
  public class FirstViewBean implements Serializable {
  
      private static final long serialVersionUID = 1867903409268465766L;
  
      @Inject
      private RequestBean rb;
  
      public void action() {
            rb.logPoints();
      }
  }
  </code></pre>
  
  <p><strong>SecondViewBean:</strong></p>
  
  <pre><code>@ViewScoped
  @ManagedBean
  public class SecondViewBean implements Serializable {
  
      private static final long serialVersionUID = 1867903409268465766L;
  
      @Inject
      private RequestBean rb;
  
      public void action() {
          rb.logPoints();
      }
  }
  </code></pre>