Class SingleResultQueryResultMetadataSource

  • All Implemented Interfaces:
    MetadataSource

    public class SingleResultQueryResultMetadataSource
    extends java.lang.Object
    implements MetadataSource
    Makes the SingleResultQueryResult class available to JPA-RS JAXB context.
    See Also:
    SingleResultQueryResult
    Author:
    Dmitry Kornilov
    Since:
    EclipseLink 2.6.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      XmlBindings getXmlBindings​(java.util.Map<java.lang.String,​?> properties, java.lang.ClassLoader classLoader)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SingleResultQueryResultMetadataSource

        public SingleResultQueryResultMetadataSource()
        Creates a new SingleResultQueryResultMetadataSource.
    • Method Detail

      • getXmlBindings

        public XmlBindings getXmlBindings​(java.util.Map<java.lang.String,​?> properties,
                                          java.lang.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