You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Raymond Feng (JIRA)" <tu...@ws.apache.org> on 2008/01/28 22:47:34 UTC

[jira] Created: (TUSCANY-2020) Need a consitent way to handle generics in java interfaces and method<-->operation mapping

Need a consitent way to handle generics in java interfaces and method<-->operation mapping
------------------------------------------------------------------------------------------

                 Key: TUSCANY-2020
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2020
             Project: Tuscany
          Issue Type: Improvement
          Components: Java SCA Java Implementation Extension
    Affects Versions: Java-SCA-Next
            Reporter: Raymond Feng


Java generics can be used to declare business interfaces for SCA services and references. For example,

public interface Resource<T> {
    T get(String name);
}

Parameterized types and wildcard types can be used too.

It will impact the interface compatibility check and java<-->wsdl interop. We need to have a consisten strategy to handle the generics. 

We might be able to follow the rules defined by JAXWS 2.x spec section 3.9.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Assigned: (TUSCANY-2020) Need a consitent way to handle generics in java interfaces and method<-->operation mapping

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng reassigned TUSCANY-2020:
-------------------------------------

    Assignee: Raymond Feng

> Need a consitent way to handle generics in java interfaces and method<-->operation mapping
> ------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2020
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2020
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SCA Java Implementation Extension
>    Affects Versions: Java-SCA-Next
>            Reporter: Raymond Feng
>            Assignee: Raymond Feng
>             Fix For: Java-SCA-Next
>
>
> Java generics can be used to declare business interfaces for SCA services and references. For example,
> public interface Resource<T> {
>     T get(String name);
> }
> Parameterized types and wildcard types can be used too.
> It will impact the interface compatibility check and java<-->wsdl interop. We need to have a consisten strategy to handle the generics. 
> We might be able to follow the rules defined by JAXWS 2.x spec section 3.9.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org