com.atlassian.confluence.search.didyoumean
Class IndexBuildCompleteListener

java.lang.Object
  extended by com.atlassian.confluence.search.didyoumean.IndexBuildCompleteListener
All Implemented Interfaces:
com.atlassian.event.EventListener

public class IndexBuildCompleteListener
extends java.lang.Object
implements com.atlassian.event.EventListener

This listener implements the business logic of enabling did-you-mean automatically for a user who has successfully built the supporting did-you-mean index.
Technically speaking, it listens for the IndexBuildCompleteEvent and responds by enabling the global did-you-mean setting.


Constructor Summary
IndexBuildCompleteListener()
           
 
Method Summary
 java.lang.Class[] getHandledEventClasses()
           
 void handleEvent(com.atlassian.event.Event event)
           
 void setSettingsManager(SettingsManager settingsManager)
           
 void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexBuildCompleteListener

public IndexBuildCompleteListener()
Method Detail

handleEvent

public void handleEvent(com.atlassian.event.Event event)
Specified by:
handleEvent in interface com.atlassian.event.EventListener

getHandledEventClasses

public java.lang.Class[] getHandledEventClasses()
Specified by:
getHandledEventClasses in interface com.atlassian.event.EventListener

setTransactionManager

public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)

setSettingsManager

public void setSettingsManager(SettingsManager settingsManager)


Copyright © 2003-2010 Atlassian. All Rights Reserved.