[cdi-dev] @ExcludeClassInterceptors for @InterceptorBinding style ?
Mark Struberg
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!
LieGrue,
strub
----- Original Message -----
> From: Martin Kouba <mkouba at redhat.com>
> To: cdi-dev at lists.jboss.org
> Cc:
> Sent: Friday, January 4, 2013 12:11 PM
> Subject: Re: [cdi-dev] @ExcludeClassInterceptors for @InterceptorBinding style ?
>
> Hi,
>
> I think the answer is NO because the CDI spec does not mention this
> annotation in "9.5 Interceptor resolution" where the process of
> matching
> 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.
>
> Martin
>
> 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?
>>
>> LieGrue,
>> strub
>> _______________________________________________
>> cdi-dev mailing list
>> cdi-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/cdi-dev
>>
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
More information about the cdi-dev
mailing list