Class DefaultCacheKeyGenerator

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

    @ApplicationScoped
    public class DefaultCacheKeyGenerator
    extends Object
    implements javax.cache.annotation.CacheKeyGenerator
    Default CacheKeyGenerator implementation. By default all key parameters of the intercepted method compose the CacheKey.
    Author:
    Kevin Pollet (C) 2011 SERLI, Galder ZamarreƱo
    • Constructor Detail

      • DefaultCacheKeyGenerator

        public DefaultCacheKeyGenerator()
    • Method Detail

      • generateCacheKey

        public javax.cache.annotation.GeneratedCacheKey generateCacheKey​(javax.cache.annotation.CacheKeyInvocationContext<? extends Annotation> cacheKeyInvocationContext)
        Specified by:
        generateCacheKey in interface javax.cache.annotation.CacheKeyGenerator