[cdi-dev] @ExcludeClassInterceptors for @InterceptorBinding style ?
struberg at yahoo.de
Fri Jan 4 08:03:39 EST 2013
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 interceptors.
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 at redhat.com>
> To: cdi-dev at lists.jboss.org
> 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 at lists.jboss.org
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
More information about the cdi-dev