Class DescriptorLevelDocumentPreservationPolicy

java.lang.Object
org.eclipse.persistence.oxm.documentpreservation.DocumentPreservationPolicy
org.eclipse.persistence.internal.oxm.documentpreservation.DescriptorLevelDocumentPreservationPolicy

public class DescriptorLevelDocumentPreservationPolicy extends DocumentPreservationPolicy
INTERNAL:

Purpose:Provide an implementation of DocumentPreservation Policy that accesses the session cache to store Objects and their associated nodes.

Responsibilities:

  • Add new objects and their associated nodes into the Session cache, wrapping them in a weak reference.
  • Lookup the node for a given Object
Since:
TopLink 11g