metadataLocations.add(new ReadAllQueryResultCollectionMetadataSource());
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));