org.hibernate.search.store
Class DirectoryProviderFactory

java.lang.Object
  extended by org.hibernate.search.store.DirectoryProviderFactory

public class DirectoryProviderFactory
extends Object

Create a Lucene directory provider which can be configured through the following properties:

where <indexname> properties have precedence over default ones.

The implementation is described by hibernate.search.[default|indexname].directory_provider. If none is defined the default value is FSDirectory.

Author:
Emmanuel Bernard, Sylvain Vieujot, Hardy Ferentschik, Sanne Grinovero

Nested Class Summary
static class DirectoryProviderFactory.DirectoryProviders
           
 
Constructor Summary
DirectoryProviderFactory()
           
 
Method Summary
 DirectoryProviderFactory.DirectoryProviders createDirectoryProviders(org.hibernate.annotations.common.reflection.XClass entity, SearchConfiguration cfg, SearchFactoryImplementor searchFactoryImplementor, org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager)
           
 void startDirectoryProviders()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectoryProviderFactory

public DirectoryProviderFactory()
Method Detail

createDirectoryProviders

public DirectoryProviderFactory.DirectoryProviders createDirectoryProviders(org.hibernate.annotations.common.reflection.XClass entity,
                                                                            SearchConfiguration cfg,
                                                                            SearchFactoryImplementor searchFactoryImplementor,
                                                                            org.hibernate.annotations.common.reflection.ReflectionManager reflectionManager)

startDirectoryProviders

public void startDirectoryProviders()


Copyright © 2011 Hibernate. All Rights Reserved.