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 -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.context.ApplicationContextstatic CanvasCacheEvictServicestatic ManifestsCacheEvictServicevoidsetApplicationContext(org.springframework.context.ApplicationContext appContext)
-
Constructor Details
-
CacheEvictBeanLocator
public CacheEvictBeanLocator()
-
-
Method Details
-
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
-
getCanvasCacheEvictService
-