[SWS-557] Make XPathParamAnnotationMethodEndpointAdapter more extendable Created: 26/Aug/09  Updated: 04/May/12  Resolved: 04/Jan/11

Status: Closed
Project: Spring Web Services
Component/s: Core
Affects Version/s: None
Fix Version/s: 2.0 GA

Type: Improvement Priority: Minor
Reporter: Eivind Tagseth Assignee: Arjen Poutsma
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File looserxpathparams.patch    

 Description   

The supported datatypes for XPathParamAnnotationMethodEndpointAdapter are a bit limiting. Adding support for custom datatypes by extending the class shouldn't be very hard, but some of the key methods and fields are private, making it almost impossible to extend it.

The attached patch turns a few fields and methods from private to protected.

See my other issue for an example extension.

Eivind



 Comments   
Comment by Eivind Tagseth [ 26/Aug/09 ]

Patch making private fields and methods protected. Patch is created against 1.5.7 but seems to apply cleanly to trunk as well

Comment by Arjen Poutsma [ 04/Jan/11 ]

As of Spring-WS 2.0, the @XPathParam-annotated datatypes can now be converted into any type by using a Spring 3.0 ConversionService.

Comment by Arjen Poutsma [ 04/May/12 ]

Closing old issues

Generated at Fri Dec 15 20:00:17 UTC 2017 using JIRA 6.4.14#64029-sha1:ae256fe0fbb912241490ff1cecfb323ea0905ca5.