Class ResourceChangeListenerRegistryInterceptor

java.lang.Object
ca.uhn.fhir.jpa.cache.ResourceChangeListenerRegistryInterceptor

This interceptor watches all resource changes on the server and compares them to the IResourceChangeListenerCache entries. If the resource matches the resource type and search parameter map of that entry, then the corresponding cache will be expired so it is refreshed and listeners are notified of that change within ResourceChangeListenerCacheRefresherImpl.LOCAL_REFRESH_INTERVAL_MS.
  • Constructor Details

  • Method Details

    • start

      @EventListener(classes=org.springframework.context.event.ContextRefreshedEvent.class) @Order(200) public void start()
    • stop

      @PreDestroy public void stop()
    • created

      public void created(org.hl7.fhir.instance.model.api.IBaseResource theResource)
    • deleted

      public void deleted(org.hl7.fhir.instance.model.api.IBaseResource theResource)
    • updated

      public void updated(org.hl7.fhir.instance.model.api.IBaseResource theResource)