Class SingleResultQueryResultMetadataSource
java.lang.Object
org.eclipse.persistence.jpa.rs.util.metadatasources.SingleResultQueryResultMetadataSource
- All Implemented Interfaces:
MetadataSource
Makes the SingleResultQueryResult class available to JPA-RS JAXB context.
- Since:
- EclipseLink 2.6.0
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a new SingleResultQueryResultMetadataSource. -
Method Summary
Modifier and TypeMethodDescriptiongetXmlBindings
(Map<String, ?> properties, ClassLoader classLoader)
-
Constructor Details
-
SingleResultQueryResultMetadataSource
public SingleResultQueryResultMetadataSource()Creates a new SingleResultQueryResultMetadataSource.
-
-
Method Details
-
getXmlBindings
- Specified by:
getXmlBindings
in interfaceMetadataSource
- Parameters:
properties
- - The properties passed in to create the JAXBContextclassLoader
- - The ClassLoader passed in to create the JAXBContext- Returns:
- the XmlBindings object representing the metadata
-