org.hibernate.search.spi
Interface SearchFactoryIntegrator

All Superinterfaces:
SearchFactory
All Known Subinterfaces:
SearchFactoryImplementor, SearchFactoryImplementorWithShareableState
All Known Implementing Classes:
ImmutableSearchFactory, MutableSearchFactory

public interface SearchFactoryIntegrator
extends SearchFactory

This contract is considered experimental. This contract gives access to lower level APIs of Hibernate Search for frameworks integrating with it. The piece of code creating the SearchFactory should use this contract. It should however pass the higherlevel SearchFactory} contract to its clients. It also allows modification of some of the search factory internals: - today allow addition of new indexed classes.

Author:
Emmanuel Bernard
Experimental

Method Summary
 void addClasses(Class<?>... classes)
          Add the following classes to the SearchFactory
 void close()
           
 Worker getWorker()
           
 
Methods inherited from interface org.hibernate.search.SearchFactory
buildQueryBuilder, getAnalyzer, getAnalyzer, getDirectoryProviders, getReaderProvider, getStatistics, optimize, optimize
 

Method Detail

addClasses

void addClasses(Class<?>... classes)
Add the following classes to the SearchFactory


getWorker

Worker getWorker()

close

void close()


Copyright © 2006-2010 Red Hat Middleware, LLC. All Rights Reserved