tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53090] Servlet superclass injection targets are ignored
Date Tue, 29 May 2012 17:26:55 GMT

--- Comment #3 from Violeta Georgieva <> ---

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

β€œ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.


You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message