com.atlassian.confluence.search.didyoumean
Class IndexBuildCompleteListener
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexBuildCompleteListener
public IndexBuildCompleteListener()
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.