Author: dan.j.allen
Date: 2010-11-25 11:28:50 -0500 (Thu, 25 Nov 2010)
New Revision: 7101
Modified:
archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/data/MemberRepository.java
Log:
WELDRAD-25 qualifier should include target ElementType.Type
Modified:
archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/data/MemberRepository.java
===================================================================
---
archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/data/MemberRepository.java 2010-11-24
19:35:18 UTC (rev 7100)
+++
archetypes/javaee6-webapp/trunk/src/main/java/com/mycompany/data/MemberRepository.java 2010-11-25
16:28:50 UTC (rev 7101)
@@ -13,7 +13,7 @@
* If you only have 1 EntityManager, this annotation is optional
*/
@Qualifier
-@Target({ ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER })
+@Target({ ElementType.Type, ElementType.METHOD, ElementType.PARAMETER, ElementType.FIELD
})
@Retention(RetentionPolicy.RUNTIME)
public @interface MemberRepository
{
Show replies by date