Class LinkMetadataSource

java.lang.Object
org.eclipse.persistence.jpa.rs.util.metadatasources.LinkMetadataSource
All Implemented Interfaces:
MetadataSource

public class LinkMetadataSource extends Object implements MetadataSource
Makes the Link class available in our Dynamic JAXB context. This class is used to describe non-private owned relationships and is not available by default because it is used in a mapping that is added at preLogin.
See Also:
Author:
tware
  • Constructor Details

    • LinkMetadataSource

      public LinkMetadataSource()
  • Method Details

    • getXmlBindings

      public XmlBindings getXmlBindings(Map<String,?> properties, ClassLoader classLoader)
      Specified by:
      getXmlBindings in interface MetadataSource
      Parameters:
      properties - - The properties passed in to create the JAXBContext
      classLoader - - The ClassLoader passed in to create the JAXBContext
      Returns:
      the XmlBindings object representing the metadata