org.hibernate.search.spi
Interface WorkerBuildContext

All Superinterfaces:
BuildContext
All Known Implementing Classes:
ImmutableSearchFactory

public interface WorkerBuildContext
extends BuildContext

Build context for the worker and other backend Available after all index, entity metadata are built.

Author:
Emmanuel Bernard

Method Summary
 InstanceInitializer getInstanceInitializer()
           
 boolean isIndexMetadataComplete()
           
 boolean isTransactionManagerExpected()
           
 
Methods inherited from interface org.hibernate.search.spi.BuildContext
getAllIndexesManager, getErrorHandler, getIndexingStrategy, getUninitializedSearchFactory, releaseService, requestService
 

Method Detail

isTransactionManagerExpected

boolean isTransactionManagerExpected()
Returns:
true if a transaction manager is expected, false otherwise.
See Also:
SearchConfiguration.isTransactionManagerExpected()

isIndexMetadataComplete

boolean isIndexMetadataComplete()
Returns:
true if it is safe to assume that the information we have about index metadata is accurate. This should be set to false for example if the index could contain Documents related to types not known to this SearchFactory instance.
See Also:
org.hibernate.search.cfg.spi.SearchConfiguration#isIndexMetadateComplete

getInstanceInitializer

InstanceInitializer getInstanceInitializer()
Returns:
An instance of the InstanceInitializer interface.


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