Class DefaultCacheResolver

  • All Implemented Interfaces:
    javax.cache.annotation.CacheResolver

    @ApplicationScoped
    public class DefaultCacheResolver
    extends Object
    implements javax.cache.annotation.CacheResolver
    Default CacheResolver implementation for standalone environments, where no Cache/CacheManagers are injected via CDI.
    Author:
    Kevin Pollet (C) 2011 SERLI, Galder ZamarreƱo
    • Method Detail

      • resolveCache

        public <K,​V> javax.cache.Cache<K,​V> resolveCache​(javax.cache.annotation.CacheInvocationContext<? extends Annotation> cacheInvocationContext)
        Specified by:
        resolveCache in interface javax.cache.annotation.CacheResolver