You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Mickael Goujon (JIRA)" <ji...@apache.org> on 2008/04/02 19:49:24 UTC

[jira] Updated: (CXF-1498) JAX-RS: Servlet Resources Injection

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

Mickael Goujon updated CXF-1498:
--------------------------------

    Attachment: patch-diff.txt

This is the patch adding support for ServletContext, HttpServletRequest and HttpServletResponse injection.

> JAX-RS: Servlet Resources Injection
> -----------------------------------
>
>                 Key: CXF-1498
>                 URL: https://issues.apache.org/jira/browse/CXF-1498
>             Project: CXF
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 2.1
>            Reporter: Mickael Goujon
>         Attachments: patch-diff.txt
>
>
> Form the 0.6 specs for JAX-RS, in section 5.1:
> "The javax.annotation.Resource annotation can be used to indicate a  dependency on a Servlet-defined resource. An implementation MUST support  injection of the following types: ServletConfig, ServletContext,  HttpServletRequest and HttpServletResponse."
> This is currently missing from the current 2.1-incubator version.
> I'll attach to this ticket a patch that adds support for ServletContext,  HttpServletRequest and HttpServletResponse (written with the help of Sergey ).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.