Class DefaultCacheKeyGenerator

java.lang.Object
org.infinispan.jcache.annotation.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 <kevin.pollet@serli.com> (C) 2011 SERLI, Galder ZamarreƱo
  • Constructor Details

    • DefaultCacheKeyGenerator

      public DefaultCacheKeyGenerator()
  • Method Details

    • generateCacheKey

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