Make AbstractJavaSortableDataProvider more generic