[
https://jira.jboss.org/jira/browse/JBSEAM-3383?page=com.atlassian.jira.pl...
]
Christian Bauer closed JBSEAM-3383.
-----------------------------------
Fix Version/s: 2.1.2.CR1
Resolution: Done
Resolved with new Seam interceptor that injects the @Context value on the actual bean, not
proxy, last in the Seam interceptor chain.
REST @Context injection for Seam component resources
----------------------------------------------------
Key: JBSEAM-3383
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3383
Project: Seam
Issue Type: Bug
Components: WS
Reporter: Christian Bauer
Assignee: Christian Bauer
Priority: Critical
Fix For: 2.1.2.CR1
The JAX-RS @Context annotation on fields does not work for JAX-RS resources when the
resource class is a Seam component (instantiated and intercepted by Seam).
AFAIK the fields annotated with @Context are injected with a proxy when instantiated by
Resteasy. When Seam instantiates and manages the object, the proxy isn't injected.
Need to find out how Resteasy does that and port it/call it from a Seam interceptor.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira