tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53090] Servlet superclass injection targets are ignored
Date Tue, 29 May 2012 17:26:55 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53090

--- Comment #3 from Violeta Georgieva <violetagg@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message