The TCK does not test if a generic type of annotation will result in proper
lookup if its used for two different services/beans.
First off is if this is the correct way to do the lookup, I think it is.
Very short the problem is how to resolve this scenario:
@Inject @Spare Tire tire;
@Inject @Spare Wrench wrench;
Example from my own project (my project previously only used the annotation
as registration name and could not get this test to work, but still passed
the TCK):
http://code.google.com/p/java-simple-utils/source/browse/trunk/simple-java-
utils/inject/src/test/java/test/org/hrodberaht/inject/AnnotationContainerUn
itT.java
Original issue reported on code.google.com by robert.a...@gmail.com on 7 Jun 2010 at 3:23
Original issue reported on code.google.com by
robert.a...@gmail.com
on 7 Jun 2010 at 3:23