public class DefaultMassIndexerFactory extends Object implements MassIndexerFactory
MassIndexer implementation used when none is specified in the configuration.MASS_INDEXER_FACTORY_CLASSNAME| Constructor and Description |
|---|
DefaultMassIndexerFactory() |
| Modifier and Type | Method and Description |
|---|---|
MassIndexer |
createMassIndexer(org.hibernate.search.spi.SearchIntegrator searchIntegrator,
SessionFactoryImplementor sessionFactory,
Class<?>... entities)
Create an instance of a
MassIndexer. |
void |
initialize(Properties properties)
Called after the creation of the factory, can be used to read configuration parameters.
|
public void initialize(Properties properties)
MassIndexerFactoryinitialize in interface MassIndexerFactoryproperties - configuration propertiespublic MassIndexer createMassIndexer(org.hibernate.search.spi.SearchIntegrator searchIntegrator, SessionFactoryImplementor sessionFactory, Class<?>... entities)
MassIndexerFactoryMassIndexer.createMassIndexer in interface MassIndexerFactorysearchIntegrator - the Hibernate Search factorysessionFactory - the Session factoryentities - the classes of the entities that are going to be indexedMassIndexerCopyright © 2018 JBoss by Red Hat. All rights reserved.