org.hibernate.search.cfg.spi
Interface IndexManagerFactory

All Known Implementing Classes:
DefaultIndexManagerFactory

public interface IndexManagerFactory

By implementing this integration point you can customize the creation of IndexManager instances. Example usage it to override ClassLoaders used to resolve implementation names, define new short-hand aliases, change the default implementation.

Author:
Sanne Grinovero (C) 2012 Red Hat Inc.

Method Summary
 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-2013 Red Hat Middleware, LLC. All Rights Reserved