Details
-
Feature Request
-
Resolution: Obsolete
-
Major
-
None
-
1.1.GA
-
None
Description
I have a resource class with the following instance variable in its base class. It is never injected.
@Context ServletContext context;
The 1.0 specification section 3.6 states that JAX-RS annotations should be "inherited" (only class annotations are inherited in Java and then only if marked as inheritable). Presumably that means the super classes and interfaces will be introspected for JAX-RS annos.
We unit test via the RESTEasy proxy so "inheriting" the annos on the interface would save us some typing and maintenance effort.