HSEARCH-1629 Register the SearchFactory as a Hibernate Service
Replace Class<?> with EntityIdentifier