Package org.fcrepo.search.impl
Class SearchIndexUpdater
- java.lang.Object
-
- org.fcrepo.search.impl.SearchIndexUpdater
-
@Component public class SearchIndexUpdater extends Object
This class listens to events from the event bus and updates the search index accordingly.- Author:
- dbernstein
-
-
Constructor Summary
Constructors Constructor Description SearchIndexUpdater()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonEvent(org.fcrepo.kernel.api.observer.Event event)voidregister()Register listenervoidreleaseConnections()Unregister listener
-
-
-
Constructor Detail
-
SearchIndexUpdater
public SearchIndexUpdater()
-
-
Method Detail
-
onEvent
public void onEvent(org.fcrepo.kernel.api.observer.Event event)
-
register
@PostConstruct public void register()
Register listener
-
releaseConnections
@PreDestroy public void releaseConnections()
Unregister listener
-
-