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.search.event
Class EventListenerRegister

    java.lang.Object
      org.hibernate.search.event.EventListenerRegister

    public class EventListenerRegister

extends java.lang.Object

Helper methods initializing Hibernate Search event listeners.

Author:
  Emmanuel Bernard, Hardy Ferentschik, Sanne Grinovero

Constructor Summary
`EventListenerRegister()`

Method Summary
`static void` | `enableHibernateSearch(org.hibernate.event.EventListeners listeners, java.util.Properties properties)` Add the FullTextIndexEventListener to all listeners, if enabled in configuration and if not already registered.

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

Constructor Detail

### EventListenerRegister

    public EventListenerRegister()

Method Detail

### enableHibernateSearch

    public static void enableHibernateSearch(org.hibernate.event.EventListeners listeners,
                                             java.util.Properties properties)

  Add the FullTextIndexEventListener to all listeners, if enabled in configuration and if not already registered.

  Parameters:
    `listeners` -
    `properties` - the Search configuration

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

Copyright © 2006-2010 Hibernate. All Rights Reserved.