org.infinispan.jcache.annotation
Class DefaultCacheKeyGenerator

java.lang.Object
  extended by 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 (C) 2011 SERLI, Galder ZamarreƱo

Constructor Summary
DefaultCacheKeyGenerator()
           
 
Method Summary
 javax.cache.annotation.GeneratedCacheKey generateCacheKey(javax.cache.annotation.CacheKeyInvocationContext<? extends Annotation> cacheKeyInvocationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.