[cdi-dev] review questions 1/n

Pete Muir pmuir at redhat.com
Fri Apr 26 03:51:33 EDT 2013


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.

> 
> @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.




More information about the cdi-dev mailing list