Module eclipselink

Class SingleResultQueryResultMetadataSource

  • All Implemented Interfaces:
    MetadataSource

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

      • SingleResultQueryResultMetadataSource

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

      • 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