I did some further research. There is even a CDI TCK for the @Interceptors case
Look at org.jboss.jsr299.tck.interceptors.tests.method.Dog
But there is not yet a positive nor negative test for @InterceptorBinding style
In OWB we support this, but I guess it's non-portable.
But could indeed be handy to also have it defined in the spec!
----- Original Message -----
From: Martin Kouba <mkouba(a)redhat.com>
Sent: Friday, January 4, 2013 12:11 PM
Subject: Re: [cdi-dev] @ExcludeClassInterceptors for @InterceptorBinding style ?
I think the answer is NO because the CDI spec does not mention this
annotation in "9.5 Interceptor resolution" where the process of
interceptors to a business method of a certain bean is defined.
On the other hand it could be a useful feature. WDYT?
BTW Weld does not support this at the moment.
Dne 3.1.2013 23:37, Mark Struberg napsal(a):
> Hi colleagues!
> @ExcludeClassInterceptors do account for @Interceptors style interceptors.
> But should they also disable @InterceptorBinding style interceptors applied
on a class?
> cdi-dev mailing list
cdi-dev mailing list