You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jervis Liu (JIRA)" <ji...@apache.org> on 2007/03/02 04:06:51 UTC

[jira] Created: (CXF-442) Support the injection of javax.xml.ws.WebServiceContext

Support the injection of javax.xml.ws.WebServiceContext
-------------------------------------------------------

                 Key: CXF-442
                 URL: https://issues.apache.org/jira/browse/CXF-442
             Project: CXF
          Issue Type: Sub-task
          Components: JAX-WS Runtime
            Reporter: Jervis Liu


The injection of javax.xml.ws.WebServiceContext. JSR-109, section 6.2.4:

A JAX-WS based container must carry out any injections (if any) requested by the handler, typically via the
@Resource annotation (see section 2.2 of JSR-250 Common Annotations for Java Platform specification). A
JAX-WS handler should use the javax.xml.ws.WebServiceContext, which is an injectable resource,
to access message context and security information relative to the request being served. A unique Handler
instance must be provided for each Port component declared in the deployment descriptor or annotated by
javax.jws.WebService or javax.xml.ws.WebServiceProvider annotations.

CXF does support the injection of WebServiceContext in endpoint but not in handlers yet. I presume a code snippet that has the injection of  WebServiceContext would look like below:

public class MyHandler implements SOAPHandler<SOAPMessageContext> {
....
@Resource
WebServiceContext context
...
}



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


[jira] Updated: (CXF-442) Support the injection of javax.xml.ws.WebServiceContext

Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bozhong Lin updated CXF-442:
----------------------------

        Fix Version/s: 2.0-RC
    Affects Version/s: 2.0-RC

> Support the injection of javax.xml.ws.WebServiceContext
> -------------------------------------------------------
>
>                 Key: CXF-442
>                 URL: https://issues.apache.org/jira/browse/CXF-442
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0-RC
>            Reporter: Jervis Liu
>             Fix For: 2.0-RC
>
>
> The injection of javax.xml.ws.WebServiceContext. JSR-109, section 6.2.4:
> A JAX-WS based container must carry out any injections (if any) requested by the handler, typically via the
> @Resource annotation (see section 2.2 of JSR-250 Common Annotations for Java Platform specification). A
> JAX-WS handler should use the javax.xml.ws.WebServiceContext, which is an injectable resource,
> to access message context and security information relative to the request being served. A unique Handler
> instance must be provided for each Port component declared in the deployment descriptor or annotated by
> javax.jws.WebService or javax.xml.ws.WebServiceProvider annotations.
> CXF does support the injection of WebServiceContext in endpoint but not in handlers yet. I presume a code snippet that has the injection of  WebServiceContext would look like below:
> public class MyHandler implements SOAPHandler<SOAPMessageContext> {
> ....
> @Resource
> WebServiceContext context
> ...
> }

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


[jira] Closed: (CXF-442) Support the injection of javax.xml.ws.WebServiceContext

Posted by "Dan Diephouse (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Diephouse closed CXF-442.
-----------------------------

    Resolution: Fixed

> Support the injection of javax.xml.ws.WebServiceContext
> -------------------------------------------------------
>
>                 Key: CXF-442
>                 URL: https://issues.apache.org/jira/browse/CXF-442
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0-RC
>            Reporter: Jervis Liu
>         Assigned To: Jervis Liu
>             Fix For: 2.0-RC
>
>
> The injection of javax.xml.ws.WebServiceContext. JSR-109, section 6.2.4:
> A JAX-WS based container must carry out any injections (if any) requested by the handler, typically via the
> @Resource annotation (see section 2.2 of JSR-250 Common Annotations for Java Platform specification). A
> JAX-WS handler should use the javax.xml.ws.WebServiceContext, which is an injectable resource,
> to access message context and security information relative to the request being served. A unique Handler
> instance must be provided for each Port component declared in the deployment descriptor or annotated by
> javax.jws.WebService or javax.xml.ws.WebServiceProvider annotations.
> CXF does support the injection of WebServiceContext in endpoint but not in handlers yet. I presume a code snippet that has the injection of  WebServiceContext would look like below:
> public class MyHandler implements SOAPHandler<SOAPMessageContext> {
> ....
> @Resource
> WebServiceContext context
> ...
> }

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


[jira] Assigned: (CXF-442) Support the injection of javax.xml.ws.WebServiceContext

Posted by "Bozhong Lin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bozhong Lin reassigned CXF-442:
-------------------------------

    Assignee: Jervis Liu

> Support the injection of javax.xml.ws.WebServiceContext
> -------------------------------------------------------
>
>                 Key: CXF-442
>                 URL: https://issues.apache.org/jira/browse/CXF-442
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0-RC
>            Reporter: Jervis Liu
>         Assigned To: Jervis Liu
>             Fix For: 2.0-RC
>
>
> The injection of javax.xml.ws.WebServiceContext. JSR-109, section 6.2.4:
> A JAX-WS based container must carry out any injections (if any) requested by the handler, typically via the
> @Resource annotation (see section 2.2 of JSR-250 Common Annotations for Java Platform specification). A
> JAX-WS handler should use the javax.xml.ws.WebServiceContext, which is an injectable resource,
> to access message context and security information relative to the request being served. A unique Handler
> instance must be provided for each Port component declared in the deployment descriptor or annotated by
> javax.jws.WebService or javax.xml.ws.WebServiceProvider annotations.
> CXF does support the injection of WebServiceContext in endpoint but not in handlers yet. I presume a code snippet that has the injection of  WebServiceContext would look like below:
> public class MyHandler implements SOAPHandler<SOAPMessageContext> {
> ....
> @Resource
> WebServiceContext context
> ...
> }

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