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