You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2012/12/19 18:11:13 UTC
[jira] [Resolved] (CXF-2335) Support @Context injection for JAX-RS
Subresources
[ https://issues.apache.org/jira/browse/CXF-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-2335.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.7.2
Assignee: Sergey Beryozkin
> Support @Context injection for JAX-RS Subresources
> --------------------------------------------------
>
> Key: CXF-2335
> URL: https://issues.apache.org/jira/browse/CXF-2335
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Affects Versions: 2.2.2
> Reporter: Hendy Irawan
> Assignee: Sergey Beryozkin
> Fix For: 2.7.2
>
>
> This works in Jersey, but not in CXF:
> class ........ {
> @Context
> private UriInfo context;
> }
> The alternative, works on both CXF and Jersey:
> class ...... {
> @GET
> public void something(@Context UriInfo context) {
> ...
> }
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira