Class CompiledModelsCache

  • All Implemented Interfaces:
    Callable<Void>, org.alfresco.util.cache.AsynchronouslyRefreshedCache<DictionaryRegistry>, org.alfresco.util.cache.RefreshableCache<DictionaryRegistry>, org.alfresco.util.cache.RefreshableCacheListener, org.alfresco.util.transaction.TransactionListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    public class CompiledModelsCache
    extends org.alfresco.util.cache.AbstractAsynchronouslyRefreshedCache<DictionaryRegistry>
    Asynchronously refreshed cache for dictionary models.
    • Constructor Detail

      • CompiledModelsCache

        public CompiledModelsCache()
    • Method Detail

      • remove

        public void remove​(String tenantId)
        Parameters:
        tenantId - the tenantId of cache that will be removed from live cache
      • setDictionaryDAO

        public void setDictionaryDAO​(DictionaryDAOImpl dictionaryDAO)
        Parameters:
        dictionaryDAO - the dictionaryDAOImpl to set
      • setTenantService

        public void setTenantService​(TenantService tenantService)
        Parameters:
        tenantService - the tenantService to set
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception
        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Overrides:
        afterPropertiesSet in class org.alfresco.util.cache.AbstractAsynchronouslyRefreshedCache<DictionaryRegistry>
        Throws:
        Exception