org.hibernate.search.event
Class EventListenerRegister

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

public class EventListenerRegister
extends Object

Allows to hack automatic support for Compass in Hibernate when used with Hiberante annotations.

Author:
kimchy

Constructor Summary
EventListenerRegister()
           
 
Method Summary
static void enableHibernateSearch(EventListeners listeners, 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(EventListeners listeners,
                                         Properties properties)
Add the FullTextIndexEventListener to all listeners, if enabled in configuration and if not already registered.

Parameters:
listeners -
properties - the Search configuration


Copyright (c) 2004-2008 The Compass Project.