<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    That's expected. The non-cdi interceptors are expected to be
    partially managed by the EE container (resource injection). If you
    need resource injection in the non-CDI interceptors you can use
    InjectionTargetBuilder to customize this behavior, e.g:<br>
    <br>
    beanManager.createInjectionTargetBuilder(type)<br>
        .setDecorationEnabled(false)<br>
        .setInterceptionEnabled(false)<br>
        .setTargetClassLifecycleCallbacksEnabled(false)<br>
        .setResourceInjectionEnabled(true)<br>
        .build()<br>
    <br>
    <div class="moz-cite-prefix">On 06/02/2015 06:15 PM, Emily Jiang
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAECq3A-3Ukv4nuTvAy1UvTvvsdFxUZMUKVGU3s_KcsQFCvjfuQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div><br clear="all">
            </div>
            For managed beans (@ManagedBean classes), they are java EE
            component classes. They support both cdi and non-cdi
            interceptors. When I create a instance using
            injectionTarget.produce(), I got hold of the instance with
            both cdi and non-cdi interceptors associated. However, the
            @Resource injection point on the non-cdi interceptors are
            not injected when Weld creates the interceptor instances.<br>
            <br>
          </div>
          Is there anything I have missed or this is a bug?<br>
        </div>
        <div>
          <div>
            <div>-- <br>
              <div class="gmail_signature">Thanks<br>
                Emily<br>
                =================<br>
                Emily Jiang<br>
                <a moz-do-not-send="true"
                  href="mailto:ejiang@apache.org" target="_blank">ejiang@apache.org</a><br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
weld-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:weld-dev@lists.jboss.org">weld-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/weld-dev">https://lists.jboss.org/mailman/listinfo/weld-dev</a></pre>
    </blockquote>
    <br>
  </body>
</html>