processors.add(bean);
}
AnnotationAwareOrderComparator.sort(processors);
RepositoryRestHandlerAdapter handlerAdapter = new RepositoryRestHandlerAdapter(defaultMethodArgumentResolvers(),
processors);
handlerAdapter.setMessageConverters(messageConverters);
return handlerAdapter;
}