org.infinispan.cdi.interceptor
Class DefaultCacheKeyGenerator

java.lang.Object
  extended by org.infinispan.cdi.interceptor.DefaultCacheKeyGenerator
All Implemented Interfaces:
javax.cache.interceptor.CacheKeyGenerator

public class DefaultCacheKeyGenerator
extends Object
implements javax.cache.interceptor.CacheKeyGenerator

This is the default cache key generator implementation. By default all parameters of the method intercepted compose the CacheKey.

Author:
Kevin Pollet (C) 2011 SERLI

Constructor Summary
DefaultCacheKeyGenerator()
           
 
Method Summary
 javax.cache.interceptor.CacheKey generateCacheKey(InvocationContext context)
           
 
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.interceptor.CacheKey generateCacheKey(InvocationContext context)
Specified by:
generateCacheKey in interface javax.cache.interceptor.CacheKeyGenerator

-->

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