diff --git a/src/javax/annotation/Resource.java b/src/javax/annotation/Resource.java index a575e0369..bec630b5b 100644 --- a/src/javax/annotation/Resource.java +++ b/src/javax/annotation/Resource.java @@ -21,16 +21,12 @@ public @interface Resource { APPLICATION } public String name() default ""; - /** - * Uses generics since Common Annotations 1.2. - */ + public Class type() default Object.class; public AuthenticationType authenticationType() default AuthenticationType.CONTAINER; public boolean shareable() default true; public String description() default ""; public String mappedName() default ""; - /** - * @since Common Annotations 1.1 - */ + public String lookup() default ""; }