Class CollectionWrapperMetadataSource
java.lang.Object
org.eclipse.persistence.jpa.rs.util.metadatasources.CollectionWrapperMetadataSource
- All Implemented Interfaces:
MetadataSource
Makes the CollectionWrapper class available in our Dynamic JAXB context.
- Author:
- Dmitry Kornilov
-
Constructor Summary
ConstructorDescriptionCreates a new CollectionWrapperMetadataSource. -
Method Summary
Modifier and TypeMethodDescriptiongetXmlBindings
(Map<String, ?> properties, ClassLoader classLoader)
-
Constructor Details
-
CollectionWrapperMetadataSource
public CollectionWrapperMetadataSource()Creates a new CollectionWrapperMetadataSource.
-
-
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
-