[cdi-dev] Interceptor scopes

Jozef Hartinger jharting at redhat.com
Fri Aug 22 05:10:40 EDT 2014


Hi John,

no, the interceptor will only be enabled in war's WEB-INF/classes. Other 
JARs need to enable the interceptor in their beans.xml file to use it.

Jozef

On 08/21/2014 08:43 PM, John D. Ament wrote:
> Hi,
>
> Let's suppose I'm deploying a WAR file w/ multiple JAR files.  The WAR 
> has a beans.xml w/ interceptors defined in it.  The JARs each have 
> beans.xml, but no interceptors defined within them.
>
> Should the interceptors in the WAR apply to all of the JAR files?
>
> Thanks,
>
> John
>
>
>
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/cdi-dev/attachments/20140822/1fd9bdad/attachment.html 


More information about the cdi-dev mailing list