|
Developer of SearchMapping @Factory Method need sometimes access to the instance of org.hibernate.cfg.Configuration or EntityManagerFactory or FullTextEntityManager.
For example, to obtain the list of entities available in the current Persistence Unit.
It is reasonable to provide access at least to org.hibernate.cfg.Configuration, since it already exists before the HibernateSearchIntegrator calls SearchMapping @Factory Method.
|