[cdi-dev] review questions 1/n
Martin Kouba
mkouba at redhat.com
Fri Apr 26 03:58:15 EDT 2013
Dne 26.4.2013 09:51, Pete Muir napsal(a):
>
> On 26 Apr 2013, at 07:33, Mark Struberg <struberg at yahoo.de> wrote:
>
>>
>> Hi Pete!
>>
>> Just a few random questions which popped up
>>
>> @Vetoed on packages only excludes classes from the very package, but not from sub-packages, right?
>
> Correct. Java doesn't define an automatic inheritance mechanism from package -> sub package for anything, including package annotations. So the annotation just applies on the package itself.
>
...and you could use exclude filters to achieve this (12.4 Bean discovery):
<exclude name="com.my.package.**">
>>
>> @WithAnnotations is not yet a Qualifier. That would have allowed us to reuse standard CDI mechanics.
>
> Correct. We never solved the problem with array valued members of qualifiers. Without solving this problem, @WithAnnotations can't be a qualifier.
>
>
> _______________________________________________
> 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