You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Florent BENOIT (JIRA)" <ji...@apache.org> on 2007/05/24 13:59:16 UTC

[jira] Created: (CXF-683) Adding method in JAX-WS EndpointImpl in order to get Implementor class

Adding method in JAX-WS EndpointImpl in order to get Implementor class
----------------------------------------------------------------------

                 Key: CXF-683
                 URL: https://issues.apache.org/jira/browse/CXF-683
             Project: CXF
          Issue Type: Wish
          Components: Core
    Affects Versions: 2.0-RC
            Reporter: Florent BENOIT


I'm porting the EasyBeans/Celtix integration to EasyBeans/CXF (exposing an EJB3 as a webservice).

In Celtix, we had a getImplementorClass() method in the EndpointImpl class.
This is not anymore the case in CXF for rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java

The problem is that the implementor object that is given to the EndpointImpl class (in my case) has to be a class and not an instance (the instance will be obtained from a pool by using an our own Invoker on the service).

In the EndpointImpl class, there is the use of the following code:
JaxWsImplementorInfo implInfo = new JaxWsImplementorInfo(implementor.getClass());
List<Handler> chain = builder.buildHandlerChainFromClass(implementor.getClass(), endpointName);

I wanted to know if "implementor.getClass()" could be changed into getImplementorClass() method
Then, I can override this method by returning the class. For now, it returns MyClass.getClass() which return java.lang.Class and this is not what is wanted.



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


[jira] Updated: (CXF-683) Adding method in JAX-WS EndpointImpl in order to get Implementor class

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

Florent BENOIT updated CXF-683:
-------------------------------

    Attachment: cxf-endpoint-getImplementorClass.patch

Patch for current SVN trunk (2007.05.24)

> Adding method in JAX-WS EndpointImpl in order to get Implementor class
> ----------------------------------------------------------------------
>
>                 Key: CXF-683
>                 URL: https://issues.apache.org/jira/browse/CXF-683
>             Project: CXF
>          Issue Type: Wish
>          Components: Core
>    Affects Versions: 2.0-RC
>            Reporter: Florent BENOIT
>         Attachments: cxf-endpoint-getImplementorClass.patch
>
>
> I'm porting the EasyBeans/Celtix integration to EasyBeans/CXF (exposing an EJB3 as a webservice).
> In Celtix, we had a getImplementorClass() method in the EndpointImpl class.
> This is not anymore the case in CXF for rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
> The problem is that the implementor object that is given to the EndpointImpl class (in my case) has to be a class and not an instance (the instance will be obtained from a pool by using an our own Invoker on the service).
> In the EndpointImpl class, there is the use of the following code:
> JaxWsImplementorInfo implInfo = new JaxWsImplementorInfo(implementor.getClass());
> List<Handler> chain = builder.buildHandlerChainFromClass(implementor.getClass(), endpointName);
> I wanted to know if "implementor.getClass()" could be changed into getImplementorClass() method
> Then, I can override this method by returning the class. For now, it returns MyClass.getClass() which return java.lang.Class and this is not what is wanted.

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


[jira] Resolved: (CXF-683) Adding method in JAX-WS EndpointImpl in order to get Implementor class

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

Freeman Fang resolved CXF-683.
------------------------------

    Resolution: Fixed

> Adding method in JAX-WS EndpointImpl in order to get Implementor class
> ----------------------------------------------------------------------
>
>                 Key: CXF-683
>                 URL: https://issues.apache.org/jira/browse/CXF-683
>             Project: CXF
>          Issue Type: Wish
>          Components: Core
>    Affects Versions: 2.0-RC
>            Reporter: Florent BENOIT
>         Attachments: cxf-endpoint-getImplementorClass.patch
>
>
> I'm porting the EasyBeans/Celtix integration to EasyBeans/CXF (exposing an EJB3 as a webservice).
> In Celtix, we had a getImplementorClass() method in the EndpointImpl class.
> This is not anymore the case in CXF for rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
> The problem is that the implementor object that is given to the EndpointImpl class (in my case) has to be a class and not an instance (the instance will be obtained from a pool by using an our own Invoker on the service).
> In the EndpointImpl class, there is the use of the following code:
> JaxWsImplementorInfo implInfo = new JaxWsImplementorInfo(implementor.getClass());
> List<Handler> chain = builder.buildHandlerChainFromClass(implementor.getClass(), endpointName);
> I wanted to know if "implementor.getClass()" could be changed into getImplementorClass() method
> Then, I can override this method by returning the class. For now, it returns MyClass.getClass() which return java.lang.Class and this is not what is wanted.

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