Class CollectionWrapperMetadataSource

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

public class CollectionWrapperMetadataSource extends Object implements MetadataSource
Makes the CollectionWrapper class available in our Dynamic JAXB context.
Author:
Dmitry Kornilov
  • Constructor Details

    • CollectionWrapperMetadataSource

      public CollectionWrapperMetadataSource()
      Creates a new CollectionWrapperMetadataSource.
  • 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