org.hibernate.search.hcore.impl

## Class SearchFactoryReference

- java.lang.Object
- - org.hibernate.search.hcore.impl.SearchFactoryReference

- All Implemented Interfaces:
    Serializable, Service

      public final class SearchFactoryReference
      extends Object
      implements Service

  This Service lives in the ServiceRegistry controlled by Hibernate ORM to allow to lookup the `ExtendedSearchIntegrator` from the context of ORM code (for example, when a user wraps the current Session into a FullTextSession).
  Since:
    5.0
  Author:
    Sanne Grinovero
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SearchFactoryReference()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ExtendedSearchIntegrator` | `getSearchIntegrator()`
    `void` | `initialize(ExtendedSearchIntegrator extendedIntegrator)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SearchFactoryReference

          public SearchFactoryReference()

  - ### Method Detail

    - #### initialize

          public void initialize(ExtendedSearchIntegrator extendedIntegrator)

    - #### getSearchIntegrator

          public ExtendedSearchIntegrator getSearchIntegrator()

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved