[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2751) JAXBIntroductions: support @XmlTransient, @XmlID, @XmlIDREF, @XmlElementWrapper and @XmlJavaTypeAdapter

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Thu Dec 3 10:17:29 EST 2009


     [ https://jira.jboss.org/jira/browse/JBWS-2751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-2751:
----------------------------------

    Summary: JAXBIntroductions: support @XmlTransient, @XmlID, @XmlIDREF, @XmlElementWrapper and @XmlJavaTypeAdapter  (was: Support all JAXB annotations in JAXBIntroductions)


OK, thanks Stefan, really appreciate what you did. I'm chainging the title of this issue a bit anch solving. Moving the other annotations support to another issue.

> JAXBIntroductions: support @XmlTransient, @XmlID, @XmlIDREF, @XmlElementWrapper and @XmlJavaTypeAdapter
> -------------------------------------------------------------------------------------------------------
>
>                 Key: JBWS-2751
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2751
>             Project: JBoss Web Services
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-native
>            Reporter: Stefan Fussenegger
>            Assignee: Alessio Soldano
>             Fix For:  jbossws-cxf-3.2.2,  jbossws-native-3.2.2
>
>         Attachments: JAXBIntroductions-rewrite.zip, XmlValue.patch
>
>
> JAXBIntroductions (http://www.jboss.org/community/wiki/JAXBIntroductions) is a nice library but not used very much - most likely as it only supports a minor subset of JAXB annotations. For my special use case, JAXBIntroductions proved to be extremely useful, that's why I'd love to see support for all annotations.
> I've just sent a rewrite of the library to Tom Fennelly, who forwarded it to Alessio Soldano, who suggested to add this feature request. Here's my orginal mail:
> ---------
> Hi Tom,
> I'm writing to you as the maintainer of JAXBIntroductions. This little library was promising to be of great help for my usecase - and it was.
> However, support for JAXB annotations was very limited, hence I added some more annotations (namely @XmlTransient, @XmlID, @XmlIDREF, @XmlElementWrapper and @XmlJavaTypeAdapter).
> As adding each annotations included the same code duplication steps, I've decided to do a little rewrite, that now makes adding support for additional annotations a lot easier - each new annotation includes 3 steps:
> 1. add annotation to xml schema (jaxb-intros.xsd)
> 2. add annotation to jaxb binding (jaxb-bindings.xjb)
> 3. add annotation.class to the set of supported annotations (IntroductionsAnnotationReader.java)
> so there's no need to write a handler or code that selects what handler to use.
> I've attached all my code for you to have a look at. I'd be really happy if this code would be included in your nice little lib. As further steps, I'd really love to see support for all JAXB annotations and a release in a maven repository (maybe even central?). I hope you agree with this plans - if yes, I'd certainly help to get this done.
> Please let me know what you think.
> Cheers, Stefan 
> ---------
> In other words, all that's left is writing the full schema (and JAXB bindings) to make this library extremely useful for some (not that?) special use cases. I'm neither a JAXB nor a XML Schema ninja myself, but I'd still be willing to get this feature request working.
> I'll attach the full code to this feature request, as a patch could become quite big (and probably hard to sort out). However, if a patch is required, please let me know.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list