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

Bryant Luk updated WINK-113:
----------------------------

    Patch Info: [Patch Available]

Added a possible patch.

> 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: Nick Gallardo
>             Fix For: 0.2
>
>         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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to