org.hibernate.search.event
Class ContextHolder

java.lang.Object
  extended by org.hibernate.search.event.ContextHolder

public class ContextHolder
extends Object

Holds already built SearchFactory per Hibernate Configuration object concurrent threads do not share this information

Author:
Emmanuel Bernard

Constructor Summary
ContextHolder()
           
 
Method Summary
static SearchFactoryImpl getOrBuildSearchFactory(org.hibernate.cfg.Configuration cfg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextHolder

public ContextHolder()
Method Detail

getOrBuildSearchFactory

public static SearchFactoryImpl getOrBuildSearchFactory(org.hibernate.cfg.Configuration cfg)