Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360249 - Add support equivalent to JAXB RI's IDResolver
Summary: Add support equivalent to JAXB RI's IDResolver
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL: http://wiki.eclipse.org/EclipseLink/D...
Whiteboard:
Keywords:
Depends on:
Blocks: 359251
  Show dependency tree
 
Reported: 2011-10-07 11:18 EDT by Rick Barkhouse CLA
Modified: 2022-06-09 10:36 EDT (History)
1 user (show)

See Also:


Attachments
Prototype (11.63 KB, patch)
2011-10-17 15:50 EDT, Rick Barkhouse CLA
no flags Details | Diff
Prototype (34.68 KB, patch)
2011-10-21 15:28 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch - code changes (15.39 KB, patch)
2011-10-26 15:45 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch - test changes (22.43 KB, patch)
2011-10-26 15:45 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch - code changes (16.19 KB, patch)
2011-10-31 13:44 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch - test changes (22.00 KB, patch)
2011-10-31 13:45 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch - test changes (22.63 KB, patch)
2011-11-01 14:50 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch - code changes (17.56 KB, patch)
2011-11-01 14:51 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch - test changes (22.66 KB, patch)
2011-11-02 14:37 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch - code changes (18.71 KB, patch)
2011-11-02 14:37 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch - test changes (22.66 KB, patch)
2011-11-02 14:49 EDT, Rick Barkhouse CLA
no flags Details | Diff
Patch - code changes (18.67 KB, patch)
2011-11-02 14:49 EDT, Rick Barkhouse CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Barkhouse CLA 2011-10-07 11:18:19 EDT
The Sun JAXB implementation includes the concept of an IDResolver, which allows users to override the ID/IDREF processing of the JAXB runtime,

IDResolver is an interface for the user to implement, containing the following methods:

public abstract Callable<?> resolve(String id, Class targetType)
public abstract void bind(String id, Object obj)
public void startDocument(ValidationEventHandler eventHandler)
public void endDocument() throws SAXException

Implementations of this interface are used by the Unmarshaller to resolve and bind IDs.
Comment 1 Rick Barkhouse CLA 2011-10-07 12:50:04 EDT
Design documemt:
http://wiki.eclipse.org/EclipseLink/Development/360249
Comment 2 Rick Barkhouse CLA 2011-10-17 15:50:29 EDT
Created attachment 205369 [details]
Prototype
Comment 3 Rick Barkhouse CLA 2011-10-21 15:28:06 EDT
Created attachment 205753 [details]
Prototype
Comment 4 Rick Barkhouse CLA 2011-10-26 15:45:44 EDT
Created attachment 206029 [details]
Patch - code changes
Comment 5 Rick Barkhouse CLA 2011-10-26 15:45:59 EDT
Created attachment 206030 [details]
Patch - test changes
Comment 6 Rick Barkhouse CLA 2011-10-31 13:44:49 EDT
Created attachment 206229 [details]
Patch - code changes
Comment 7 Rick Barkhouse CLA 2011-10-31 13:45:03 EDT
Created attachment 206230 [details]
Patch - test changes
Comment 8 Rick Barkhouse CLA 2011-11-01 14:50:54 EDT
Created attachment 206286 [details]
Patch - test changes
Comment 9 Rick Barkhouse CLA 2011-11-01 14:51:10 EDT
Created attachment 206287 [details]
Patch - code changes
Comment 10 Rick Barkhouse CLA 2011-11-02 14:37:39 EDT
Created attachment 206360 [details]
Patch - test changes
Comment 11 Rick Barkhouse CLA 2011-11-02 14:37:54 EDT
Created attachment 206361 [details]
Patch - code changes
Comment 12 Rick Barkhouse CLA 2011-11-02 14:49:12 EDT
Created attachment 206364 [details]
Patch - test changes
Comment 13 Rick Barkhouse CLA 2011-11-02 14:49:24 EDT
Created attachment 206365 [details]
Patch - code changes
Comment 14 Rick Barkhouse CLA 2011-11-07 10:48:22 EST
Completed, reviewed by bdoughan.
Comment 15 Eclipse Webmaster CLA 2022-06-09 10:36:17 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink