org.hibernate.search.indexes.serialization.spi
Class SerializerService

java.lang.Object
  extended by org.hibernate.search.indexes.serialization.spi.SerializerService
All Implemented Interfaces:
ServiceProvider<LuceneWorkSerializer>

public class SerializerService
extends Object
implements ServiceProvider<LuceneWorkSerializer>

Provides a Serializer of LuceneWork instances consuming a SerializerProvider This is commonly used to delegate indexing work to a different JVM.

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

Constructor Summary
SerializerService()
           
 
Method Summary
 LuceneWorkSerializer getService()
           
 void start(Properties properties, BuildContext buildContext)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializerService

public SerializerService()
Method Detail

start

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

getService

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

stop

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


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