Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink/Release/2.4.0/JAXB RI Extensions/Cycle Recoverable"

(New page: <div style="margin:5px;float:right;border:1px solid #000000;padding:5px">__TOC__</div> = Design Documentation: CycleRecoverable = [http://bugs.eclipse.org/372404 ER 372404] In the curre...)
 
Line 7: Line 7:
 
In the current JAXB RI, developed by Sun, there are a series of "proprietary" JAXB extensions that are available to provide advanced JAXB functionality outside of the JAXB spec (these extension classes reside in the '''com.sun.xml.bind''' package).
 
In the current JAXB RI, developed by Sun, there are a series of "proprietary" JAXB extensions that are available to provide advanced JAXB functionality outside of the JAXB spec (these extension classes reside in the '''com.sun.xml.bind''' package).
  
The '''CycleRecoverable ''' interface
+
The '''CycleRecoverable ''' interface allows the user to write their own logic to be used when object cycles are detected during marshal operations.  When a cycle is detected, MOXy will invoke the '''onCycleDetected''', which returns a "replacement" object for the one that caused the cycle.
  
 
This document will outline the design for an EclipseLink equivalent to this extension.
 
This document will outline the design for an EclipseLink equivalent to this extension.

Revision as of 13:54, 1 June 2012

Design Documentation: CycleRecoverable

ER 372404

In the current JAXB RI, developed by Sun, there are a series of "proprietary" JAXB extensions that are available to provide advanced JAXB functionality outside of the JAXB spec (these extension classes reside in the com.sun.xml.bind package).

The CycleRecoverable interface allows the user to write their own logic to be used when object cycles are detected during marshal operations. When a cycle is detected, MOXy will invoke the onCycleDetected, which returns a "replacement" object for the one that caused the cycle.

This document will outline the design for an EclipseLink equivalent to this extension.

Back to the top