org.hibernate.search.hcore.impl
Class MassIndexerFactoryProvider

java.lang.Object
  extended by org.hibernate.search.hcore.impl.MassIndexerFactoryProvider
All Implemented Interfaces:
ServiceProvider<MassIndexerFactory>

public class MassIndexerFactoryProvider
extends Object
implements ServiceProvider<MassIndexerFactory>

Registers a MassIndexerFactory as a registered Service.

The type of the factory can be specified in the configuration otherwise a default one is used.

Author:
Sanne Grinovero

Field Summary
static String MASS_INDEXER_FACTORY_CLASSNAME
           
 
Constructor Summary
MassIndexerFactoryProvider()
           
 
Method Summary
 MassIndexerFactory getService()
           
 void start(Properties properties, BuildContext context)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MASS_INDEXER_FACTORY_CLASSNAME

public static final String MASS_INDEXER_FACTORY_CLASSNAME
See Also:
Constant Field Values
Constructor Detail

MassIndexerFactoryProvider

public MassIndexerFactoryProvider()
Method Detail

start

public void start(Properties properties,
                  BuildContext context)
Specified by:
start in interface ServiceProvider<MassIndexerFactory>

getService

public MassIndexerFactory getService()
Specified by:
getService in interface ServiceProvider<MassIndexerFactory>

stop

public void stop()
Specified by:
stop in interface ServiceProvider<MassIndexerFactory>


Copyright © 2006–2013 Hibernate. All rights reserved.