try {
instance.getSingletons().add(
new ODataEntityProvider());
instance.getSingletons().add(
new ODataEntityCollectionProvider());
instance.getSingletons().add(
new MediaContentProvider());
} catch (JAXBException e) {
throw new RuntimeException(e);
} catch (ParserConfigurationException e) {