Package org.infinispan.jcache.annotation
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.cache.annotation.GeneratedCacheKeygenerateCacheKey(javax.cache.annotation.CacheKeyInvocationContext<? extends Annotation> cacheKeyInvocationContext)
-
Constructor Details
-
DefaultCacheKeyGenerator
public DefaultCacheKeyGenerator()
-
-
Method Details
-
generateCacheKey
public javax.cache.annotation.GeneratedCacheKey generateCacheKey(javax.cache.annotation.CacheKeyInvocationContext<? extends Annotation> cacheKeyInvocationContext) - Specified by:
generateCacheKeyin interfacejavax.cache.annotation.CacheKeyGenerator
-