Package org.dspace.iiif.consumer
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 Summary
Constructors Constructor Description CacheEvictBeanLocator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.springframework.context.ApplicationContextgetApplicationContext()static CanvasCacheEvictServicegetCanvasCacheEvictService()static ManifestsCacheEvictServicegetManifestsCacheEvictService()voidsetApplicationContext(org.springframework.context.ApplicationContext appContext)
-
-
-
Method Detail
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext appContext) throws org.springframework.beans.BeansException- Specified by:
setApplicationContextin interfaceorg.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()
-
-