Class ErrorResponseMetadataSource

java.lang.Object
org.eclipse.persistence.jpa.rs.util.metadatasources.ErrorResponseMetadataSource
All Implemented Interfaces:
MetadataSource

public class ErrorResponseMetadataSource extends Object implements MetadataSource
Makes the ErrorResponse class available to JAXB context.
  • Constructor Details

    • ErrorResponseMetadataSource

      public ErrorResponseMetadataSource()
  • Method Details

    • 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