org.hibernate.search.event
Class EventListenerRegister
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventListenerRegister
public EventListenerRegister()
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.