Package org.eclipse.persistence.jpa.rs.util.metadatasources

Examples of org.eclipse.persistence.jpa.rs.util.metadatasources.ErrorResponseMetadataSource


        metadataLocations.add(new JavaLangMetadataSource());
        metadataLocations.add(new JavaMathMetadataSource());
        metadataLocations.add(new JavaUtilMetadataSource());
        metadataLocations.add(new LinkV2MetadataSource());
        metadataLocations.add(new ItemLinksMetadataSource());
        metadataLocations.add(new ErrorResponseMetadataSource());

        properties.put(JAXBContextProperties.OXM_METADATA_SOURCE, metadataLocations);
        properties.put(JAXBContextProperties.SESSION_EVENT_LISTENER, new PreLoginMappingAdapter((AbstractSession) session));

        // Bug 410095 - JSON_WRAPPER_AS_ARRAY_NAME property doesn't work when jaxb context is created using DynamicJAXBContextFactory
View Full Code Here


        metadataLocations.add(new JavaLangMetadataSource());
        metadataLocations.add(new JavaMathMetadataSource());
        metadataLocations.add(new JavaUtilMetadataSource());
        metadataLocations.add(new LinkV2MetadataSource());
        metadataLocations.add(new ItemLinksMetadataSource());
        metadataLocations.add(new ErrorResponseMetadataSource());

        properties.put(JAXBContextProperties.OXM_METADATA_SOURCE, metadataLocations);
        properties.put(JAXBContextProperties.SESSION_EVENT_LISTENER, new PreLoginMappingAdapter(session));

        // Bug 410095 - JSON_WRAPPER_AS_ARRAY_NAME property doesn't work when jaxb context is created using DynamicJAXBContextFactory
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.jpa.rs.util.metadatasources.ErrorResponseMetadataSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.