cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-2335) Support @Context injection for JAX-RS Subresources
Date Thu, 09 Jul 2009 10:49:14 GMT

     [ https://issues.apache.org/jira/browse/CXF-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Beryozkin updated CXF-2335:
----------------------------------

    Issue Type: Improvement  (was: Bug)
       Summary: Support @Context injection for JAX-RS Subresources  (was: @Context does not
work for JAX-RS member fields)

I've updated the JIRA title to make it a bit more obvious that is is an enhancement request
as opposed to a bug :-)



> 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: REST
>    Affects Versions: 2.2.2
>            Reporter: Hendy Irawan
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message