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