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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onApplicationEvent(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, wait

    Methods inherited from interface org.springframework.context.ApplicationListener

    supportsAsyncExecution
  • Constructor Details

    • HibernateSearchIndexBuild

      public HibernateSearchIndexBuild()
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(@NonNull 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:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>