https://issues.apache.org/bugzilla/show_bug.cgi?id=53090

--- Comment #3 from Violeta Georgieva <violet...@apache.org> ---
Hi,

In the Java Platform EE 6 Spec, EE.5.2.5. Annotations and Injection, they
specify that resource annotations may appear on any superclass of the class.

Annotations and inheritance topic is described also on the wiki
http://java.net/projects/javaee-spec/pages/AnnotationRules

β€œIn general, annotations on interfaces are ignored.”

However there are specified also exceptions of the rule.

For our use case – resource annotations (@Resource, @EJB etc.) and injection
target classes – I think that we should ignore them.

Regards
Violeta

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to