Save This Page
Home » hibernate-search-src-20081106 » org.hibernate » search » event » [javadoc | source]
org.hibernate.search.event
public class: FullTextIndexEventListener [javadoc | source]
java.lang.Object
   org.hibernate.search.event.FullTextIndexEventListener

All Implemented Interfaces:
    org.hibernate.event.PostCollectionRecreateEventListener, org.hibernate.event.PostDeleteEventListener, org.hibernate.event.PostUpdateEventListener, org.hibernate.event.Initializable, org.hibernate.event.PostCollectionUpdateEventListener, org.hibernate.event.PostCollectionRemoveEventListener, org.hibernate.event.Destructible, org.hibernate.event.PostInsertEventListener

Direct Known Subclasses:
    FullTextIndexCollectionEventListener

This listener supports setting a parent directory for all generated index files. It also supports setting the analyzer class to be used.
Field Summary
protected  boolean used     
protected  SearchFactoryImplementor searchFactoryImplementor     
Method from org.hibernate.search.event.FullTextIndexEventListener Summary:
cleanup,   getSearchFactoryImplementor,   initialize,   onPostDelete,   onPostInsert,   onPostRecreateCollection,   onPostRemoveCollection,   onPostUpdate,   onPostUpdateCollection,   processCollectionEvent,   processWork
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.search.event.FullTextIndexEventListener Detail:
 public  void cleanup() 
 public SearchFactoryImplementor getSearchFactoryImplementor() 
 public  void initialize(Configuration cfg) 
    Initialize method called by Hibernate Core when the SessionFactory starts
 public  void onPostDelete(PostDeleteEvent event) 
 public  void onPostInsert(PostInsertEvent event) 
 public  void onPostRecreateCollection(PostCollectionRecreateEvent event) 
 public  void onPostRemoveCollection(PostCollectionRemoveEvent event) 
 public  void onPostUpdate(PostUpdateEvent event) 
 public  void onPostUpdateCollection(PostCollectionUpdateEvent event) 
 protected  void processCollectionEvent(AbstractCollectionEvent event) 
 protected  void processWork(Object entity,
    Serializable id,
    WorkType workType,
    AbstractEvent event)