[cdi-dev] clarification about interceptors in ejb-jar.xml

Joseph Bergmark bergmark at us.ibm.com
Thu Jan 3 13:55:24 EST 2013


Talked with Mark about this briefly, and I think the answer is no.  I 
believe you can only apply interceptors to ejbs in the ejb-jar.xml.  There 
doesn't appear to be a way to apply it to an arbitrary class that might be 
managed by CDI.

Sincerely,

Joe Bergmark



From:
Mark Struberg <struberg at yahoo.de>
To:
cdi-dev <cdi-dev at lists.jboss.org>, 
Date:
01/03/2013 01:36 PM
Subject:
[cdi-dev] clarification about interceptors in ejb-jar.xml
Sent by:
cdi-dev-bounces at lists.jboss.org





The cdi spec defines that 


"Interceptors declared using @Interceptors or in ejb-jar.xml are called 
before interceptors declared using interceptor
bindings"


does that mean that we need to apply interceptors defined in ejb-jar.xml 
to pure CDI beans as well?

LieGrue,
strub

_______________________________________________
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/20130103/2079dfc0/attachment.html 


More information about the cdi-dev mailing list