Class CacheEvictBeanLocator

java.lang.Object
org.dspace.iiif.consumer.CacheEvictBeanLocator
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@Component public class CacheEvictBeanLocator extends Object implements org.springframework.context.ApplicationContextAware
Exposes the Spring application's IIIF cache evict service to the DSpace event consumer.
  • Constructor Details

    • CacheEvictBeanLocator

      public CacheEvictBeanLocator()
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext appContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • getApplicationContext

      public static org.springframework.context.ApplicationContext getApplicationContext()
    • getManifestsCacheEvictService

      public static ManifestsCacheEvictService getManifestsCacheEvictService()
    • getCanvasCacheEvictService

      public static CanvasCacheEvictService getCanvasCacheEvictService()