<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Since CDI 1.1 you can enable an interceptor, decorator or
    alternative globally. This can be done either using the @Priority
    annotation or by an extension.<br>
    <br>
    Jozef<br>
    <br>
    <div class="moz-cite-prefix">On 08/22/2014 01:21 PM, John D. Ament
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAOqetn__yoc9e2s3NMzp+ZSwVEAP0TxZxbTV39NeQBKcULCUmQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">@Romain
        <div><br>
        </div>
        <div>I'm inclined to believe that.  Either way I just created <a
            moz-do-not-send="true"
            href="https://issues.jboss.org/browse/CDI-453">https://issues.jboss.org/browse/CDI-453</a>
          so that none of us lose track of it.</div>
        <div><br>
        </div>
        <div>John</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Fri, Aug 22, 2014 at 7:05 AM, Romain
          Manni-Bucau <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:rmannibucau@gmail.com" target="_blank">rmannibucau@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi John,
            from spec point of view Jozef is right but I think it is<br>
            important to mention that most of servers supports it
            otherwise it is<br>
            hardly usable (using lib would be a nightmare).<br>
            <br>
            <br>
            Romain Manni-Bucau<br>
            Twitter: @rmannibucau<br>
            Blog: <a moz-do-not-send="true"
              href="http://rmannibucau.wordpress.com/" target="_blank">http://rmannibucau.wordpress.com/</a><br>
            LinkedIn: <a moz-do-not-send="true"
              href="http://fr.linkedin.com/in/rmannibucau"
              target="_blank">http://fr.linkedin.com/in/rmannibucau</a><br>
            Github: <a moz-do-not-send="true"
              href="https://github.com/rmannibucau" target="_blank">https://github.com/rmannibucau</a><br>
            <br>
            <br>
            2014-08-22 11:10 GMT+02:00 Jozef Hartinger &lt;<a
              moz-do-not-send="true" href="mailto:jharting@redhat.com">jharting@redhat.com</a>&gt;:<br>
            <div class="HOEnZb">
              <div class="h5">&gt; Hi John,<br>
                &gt;<br>
                &gt; no, the interceptor will only be enabled in war's
                WEB-INF/classes. Other<br>
                &gt; JARs need to enable the interceptor in their
                beans.xml file to use it.<br>
                &gt;<br>
                &gt; Jozef<br>
                &gt;<br>
                &gt;<br>
                &gt; On 08/21/2014 08:43 PM, John D. Ament wrote:<br>
                &gt;<br>
                &gt; Hi,<br>
                &gt;<br>
                &gt; Let's suppose I'm deploying a WAR file w/ multiple
                JAR files.  The WAR has a<br>
                &gt; beans.xml w/ interceptors defined in it.  The JARs
                each have beans.xml, but<br>
                &gt; no interceptors defined within them.<br>
                &gt;<br>
                &gt; Should the interceptors in the WAR apply to all of
                the JAR files?<br>
                &gt;<br>
                &gt; Thanks,<br>
                &gt;<br>
                &gt; John<br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt; _______________________________________________<br>
                &gt; cdi-dev mailing list<br>
                &gt; <a moz-do-not-send="true"
                  href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
                &gt; <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/cdi-dev"
                  target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
                &gt;<br>
                &gt;<br>
                &gt;<br>
                &gt; _______________________________________________<br>
                &gt; cdi-dev mailing list<br>
                &gt; <a moz-do-not-send="true"
                  href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
                &gt; <a moz-do-not-send="true"
                  href="https://lists.jboss.org/mailman/listinfo/cdi-dev"
                  target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>