| Summary: | Usability Issue - Restrict class parameters on MOXy annotations | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Blaise Doughan <blaise.doughan> | ||||||||||||
| Component: | Eclipselink | Assignee: | Blaise Doughan <blaise.doughan> | ||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||
| Severity: | normal | ||||||||||||||
| Priority: | P3 | CC: | eclipselink.oxm-inbox | ||||||||||||
| Version: | unspecified | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||
| Hardware: | PC | ||||||||||||||
| OS: | Windows XP | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Attachments: |
|
||||||||||||||
Created attachment 177730 [details]
Core - Fix
Created attachment 177732 [details]
Core - Fix
Expanded restricted class paramters to include the following annotations:
- XmlClassExtractor
- XmlCustomizer
- XmlReadTransformer
- XmlWriteTransformer
Created attachment 177735 [details]
MOXy - Fix
Created attachment 177743 [details]
MOXy - Test Cases
Created attachment 177748 [details]
MOXy - Test Cases
Fix checked into trunk at rev: 8107 The class parameters on the following annotations are now restricted to the appropriate types: - @XmlClassExtractor - @XmlCustomizer - @XmlReadTransformer - @XmlWriteTransformer Code reviewed by: David McCann The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
Proposal Change: Class transformerClass() default void.class; To: Class<? extends FieldTransformer> transformerClass(); Class<? extends AttributeTransformer> transformerClass() ; This change will restrict the transformer class to the appropriate type in @XmlReadTransformer and @XmlWriteTransformer.