Class SingleResultQueryResultMetadataSource

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

public class SingleResultQueryResultMetadataSource extends Object implements MetadataSource
Makes the SingleResultQueryResult class available to JPA-RS JAXB context.
See Also:
Author:
Dmitry Kornilov
  • Constructor Details

    • SingleResultQueryResultMetadataSource

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