axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-1800) JAX-WS Cache or improve the @XMLRootElement and related annotation lookups
Date Sun, 11 Feb 2007 21:33:05 GMT

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

Rich Scheuerle updated AXIS2-1800:
----------------------------------

    Attachment: patch6.txt

patch6.txt contains code to cache the property descriptor information.

A PropertyDescriptor , built by the Bean Introspector, allows access to the values of the
bean.

JAX-WS provides a PropertyDescriptorPlus object which wraps the PropertyDescriptor.
   PropertyDescriptorPlus contains enhanced set/get methods which understand the basic semantics
of JAXB. 
   In addition, the PropertyDescriptorPlus stores the xml name of the property 
   The xml name is calculated/defaulted from @XmlElement information in the bean.
   

A Map<String, PropertyDescriptorPlus> allows the JAX-WS engine to quickly find a PropertyDescriptorPlus
accessor using the xmlname of the property.

The marshaling code was refactored to cache this PropertyDescriportPlus map for each of the
wrapper classes  of the service.

In addition, this patch provides debug (toString)  support for each of the *RuntimeDesc classes.
 This trace information will help with trace.

> JAX-WS Cache or improve the @XMLRootElement and related annotation lookups
> --------------------------------------------------------------------------
>
>                 Key: AXIS2-1800
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1800
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: jaxws
>            Reporter: Rich Scheuerle
>         Assigned To: Rich Scheuerle
>         Attachments: patch.txt, patch2.txt, patch3.txt, patch4.txt, patch5.txt, patch6.txt
>
>
> The JAX-WS doc/lit wrapped marshalling code needs to query annotations such as @XmlRootElement,
@XmlList, @XmlType etc.
> This defect is opened to save/cache the resulting information on the OperationDescription
or possibly a static WeakHashtable to improve performance.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message