return instances;
}
private static void addMandatoryProviders(final Collection<Object> instances) {
instances.add(new JsrProvider()); // is this one really mandatory?
instances.add(new WadlDocumentMessageBodyWriter());
instances.add(EJBAccessExceptionMapper.INSTANCE);
if ("true".equalsIgnoreCase(SystemInstance.get().getProperty("openejb.jaxrs.cxf.add-cxf-providers", "false"))) {
instances.add(new WebApplicationExceptionMapper());
instances.add(new BinaryDataProvider<>());