Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.lucene.event
Class LuceneEventListener

    java.lang.Object
      org.hibernate.lucene.event.LuceneEventListener

All Implemented Interfaces:
  Serializable, org.hibernate.event.Initializable, org.hibernate.event.PostDeleteEventListener, org.hibernate.event.PostInsertEventListener, org.hibernate.event.PostUpdateEventListener

    public class LuceneEventListener

extends Object
implements org.hibernate.event.PostDeleteEventListener, org.hibernate.event.PostInsertEventListener, org.hibernate.event.PostUpdateEventListener, org.hibernate.event.Initializable

This listener supports setting a parent directory for all generated index files. It also supports setting the analyzer class to be used.

Author:
  Gavin King, Emmanuel Bernard, Mattias Arbin
See Also:
  Serialized Form

Constructor Summary
`LuceneEventListener()`

Method Summary
`void` | `initialize(org.hibernate.cfg.Configuration cfg)`
`void` | `onPostDelete(org.hibernate.event.PostDeleteEvent event)`
`void` | `onPostInsert(org.hibernate.event.PostInsertEvent event)`
`void` | `onPostUpdate(org.hibernate.event.PostUpdateEvent event)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### LuceneEventListener

    public LuceneEventListener()

Method Detail

### initialize

    public void initialize(org.hibernate.cfg.Configuration cfg)

  Specified by:
    `initialize` in interface `org.hibernate.event.Initializable`

### onPostDelete

    public void onPostDelete(org.hibernate.event.PostDeleteEvent event)

  Specified by:
    `onPostDelete` in interface `org.hibernate.event.PostDeleteEventListener`

### onPostInsert

    public void onPostInsert(org.hibernate.event.PostInsertEvent event)

  Specified by:
    `onPostInsert` in interface `org.hibernate.event.PostInsertEventListener`

### onPostUpdate

    public void onPostUpdate(org.hibernate.event.PostUpdateEvent event)

  Specified by:
    `onPostUpdate` in interface `org.hibernate.event.PostUpdateEventListener`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD