Class JavaLangMetadataSource

  • All Implemented Interfaces:
    MetadataSource

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

      • JavaLangMetadataSource

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