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
Fix For: 0.1
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.