org.compass.core.engine.event
Class SearchEngineEventManager

java.lang.Object
  extended by org.compass.core.engine.event.SearchEngineEventManager
All Implemented Interfaces:
SearchEngineLifecycleEventListener

public class SearchEngineEventManager
extends Object
implements SearchEngineLifecycleEventListener

Author:
kimchy

Constructor Summary
SearchEngineEventManager()
           
 
Method Summary
 void afterBeginTransaction()
           
 void afterCommit(boolean onePhase)
           
 void afterPrepare()
           
 void afterRollback()
           
 void beforeBeginTransaction()
           
 void close()
           
 void registerLifecycleListener(SearchEngineLifecycleEventListener lifecycleEventListener)
           
 void removeLifecycleListener(SearchEngineLifecycleEventListener lifecycleEventListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchEngineEventManager

public SearchEngineEventManager()
Method Detail

registerLifecycleListener

public void registerLifecycleListener(SearchEngineLifecycleEventListener lifecycleEventListener)

removeLifecycleListener

public void removeLifecycleListener(SearchEngineLifecycleEventListener lifecycleEventListener)

beforeBeginTransaction

public void beforeBeginTransaction()
                            throws SearchEngineException
Specified by:
beforeBeginTransaction in interface SearchEngineLifecycleEventListener
Throws:
SearchEngineException

afterBeginTransaction

public void afterBeginTransaction()
                           throws SearchEngineException
Specified by:
afterBeginTransaction in interface SearchEngineLifecycleEventListener
Throws:
SearchEngineException

afterPrepare

public void afterPrepare()
                  throws SearchEngineException
Specified by:
afterPrepare in interface SearchEngineLifecycleEventListener
Throws:
SearchEngineException

afterCommit

public void afterCommit(boolean onePhase)
                 throws SearchEngineException
Specified by:
afterCommit in interface SearchEngineLifecycleEventListener
Throws:
SearchEngineException

afterRollback

public void afterRollback()
                   throws SearchEngineException
Specified by:
afterRollback in interface SearchEngineLifecycleEventListener
Throws:
SearchEngineException

close

public void close()
           throws SearchEngineException
Specified by:
close in interface SearchEngineLifecycleEventListener
Throws:
SearchEngineException


Copyright (c) 2004-2008 The Compass Project.