org.hibernate.search.cfg.spi

## Interface IndexManagerFactory

- All Superinterfaces:
    Service
  All Known Implementing Classes:
    DefaultIndexManagerFactory

      public interface IndexManagerFactory
      extends Service

  By implementing this integration point you can customize the creation of IndexManager instances. Example usage is to override `ClassLoader`s used to resolve implementation names, define new short-hand aliases, change the default implementation.
  Author:
    Sanne Grinovero (C) 2012 Red Hat Inc.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `IndexManager` | `createDefaultIndexManager()`
    `IndexManager` | `createIndexManagerByName(String indexManagerImplementationName)`

- - ### Method Detail

    - #### createDefaultIndexManager

          IndexManager createDefaultIndexManager()

      Returns:
        a new instance of the default IndexManager

    - #### createIndexManagerByName

          IndexManager createIndexManagerByName(String indexManagerImplementationName)

      Parameters:
        `indexManagerImplementationName` - how this is resolved to an IndexManager type is left to the implementor.
      Returns:
        a new IndexManager instance of the chosen type

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