You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Gerhard Petracek (JIRA)" <ji...@apache.org> on 2013/07/13 22:13:58 UTC

[jira] [Closed] (WINK-113) Cache reflective calls for JAXB bean annotations

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

Gerhard Petracek closed WINK-113.
---------------------------------

    
> Cache reflective calls for JAXB bean annotations
> ------------------------------------------------
>
>                 Key: WINK-113
>                 URL: https://issues.apache.org/jira/browse/WINK-113
>             Project: Wink
>          Issue Type: Improvement
>          Components: Common
>    Affects Versions: 0.1
>            Reporter: Nick Gallardo
>            Assignee: Bryant Luk
>             Fix For: 1.0
>
>         Attachments: WINK-113.patch
>
>
> The AbstractJAXBProvider will check for the presence of certain annotations (@XmlRootElement and @XmlType) on the bean classes that are passed in.  These reflective checks are expensive from a performance standpoint and should be cached.  The calls to get the information are used to determine a) if the class is a JAXB bean in the first place and b) if the bean should be wrapped in an JAXBElement<?> wrapper.  
> Patch forthcoming with an attempt at handling this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira