Class 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 Detail

      • CacheEvictBeanLocator

        public CacheEvictBeanLocator()
    • Method Detail

      • 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()