Class JavaUtilMetadataSource

  • All Implemented Interfaces:
    MetadataSource

    public class JavaUtilMetadataSource
    extends Object
    implements MetadataSource
    Makes java.util package classes available to JPA-RS JAXB context.
    Author:
    gonural
    • Constructor Detail

      • JavaUtilMetadataSource

        public JavaUtilMetadataSource()
    • 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