Class ErrorResponseMetadataSource
java.lang.Object
org.eclipse.persistence.jpa.rs.util.metadatasources.ErrorResponseMetadataSource
- All Implemented Interfaces:
MetadataSource
Makes the ErrorResponse class available to JAXB context.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetXmlBindings
(Map<String, ?> properties, ClassLoader classLoader)
-
Constructor Details
-
ErrorResponseMetadataSource
public ErrorResponseMetadataSource()
-
-
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
-