Package gov.niem.tools.api.core.config
Class HibernateSearchIndexBuild
java.lang.Object
gov.niem.tools.api.core.config.HibernateSearchIndexBuild
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
@Configuration
public class HibernateSearchIndexBuild
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
Builds a database index for Hibernate searches on an application event.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event) Builds a database index for Hibernate searches on the given application event.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
HibernateSearchIndexBuild
public HibernateSearchIndexBuild()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event) Builds a database index for Hibernate searches on the given application event. TODO: Errors indexing Version, Namespace, Subproperty, and Facet- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
-