public final class SearchIntegratorHelper extends Object
SearchIntegrator from
an Hibernate SessionFactory or a standard JPA
EntityManagerFactory.| Modifier and Type | Method and Description |
|---|---|
static SearchIntegrator |
extractFromEntityManagerFactory(EntityManagerFactory emf)
Extract a
SearchIntegrator from an active EntityManagerFactory. |
static SearchIntegrator |
extractFromSessionFactory(org.hibernate.SessionFactory sf)
Extract a
SearchIntegrator from an active SessionFactory. |
public static SearchIntegrator extractFromSessionFactory(org.hibernate.SessionFactory sf)
SearchIntegrator from an active SessionFactory.sf - the active SessionFactorypublic static SearchIntegrator extractFromEntityManagerFactory(EntityManagerFactory emf)
SearchIntegrator from an active EntityManagerFactory.
The provided EntityManagerFactory must be implemented by an Hibernate EntityManagerFactory.emf - the active EntityManagerFactoryCopyright © 2006-2023 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.