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] Resolved: (CXF-2869) have JAXBElementProvider look for @XmlJavaTypeAdapter on the interfaces
Date Fri, 09 Jul 2010 20:52:49 GMT

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

Sergey Beryozkin resolved CXF-2869.
-----------------------------------

    Fix Version/s: 2.3
       Resolution: Fixed

> have JAXBElementProvider look for @XmlJavaTypeAdapter on the interfaces
> -----------------------------------------------------------------------
>
>                 Key: CXF-2869
>                 URL: https://issues.apache.org/jira/browse/CXF-2869
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.2.7, 2.2.8, 2.2.9
>            Reporter: Peter Giles
>             Fix For: 2.3, 2.2.10
>
>
> When the return type of a JAX-RS annotated method is an interface, and the interface
has a @JavaXmlTypeAdapter on it, the JAXBElementProvider should find that adapter so it can
do the appropriate conversion.  Per Sergey:
> "At the moment JAXBElementProvider is capable of working with @XmlJavaTypeAdapter but
it does not check the interfaces. The workaround : add @XmlJavaTypeAdapter as a method annotation
to getAll() or to BaseballCardImpl. [...] but I can see that the fix can be trivial in this
case :-)" 

-- 
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