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(a)yahoo.de>
To:
cdi-dev <cdi-dev(a)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(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev