org.wanghy.cache.key
Interface CacheKeyGenerator

All Known Implementing Classes:
HashCodeCacheKeyGenerator

public interface CacheKeyGenerator

Generates the key to retrive/save objects from/to the cache.

Version:
$Revision: 1.2 $ $Date: 2004/12/05 04:27:39 $
Author:
Alex Ruiz

Method Summary
 CacheKey generateKey(MethodInvocation methodInvocation)
          Generates the key for a cache entry.
 

Method Detail

generateKey

public CacheKey generateKey(MethodInvocation methodInvocation)
Generates the key for a cache entry.

Parameters:
methodInvocation - the description of an invocation to the intercepted method.
Returns:
the key for a cache entry.


Copyright © 2004-2005 Alex Ruiz. All Rights Reserved.