org.springframework.cache.support
Class DefaultKeyGenerator

java.lang.Object
  extended by org.springframework.cache.support.DefaultKeyGenerator
All Implemented Interfaces:
KeyGenerator<Object>

public class DefaultKeyGenerator
extends Object
implements KeyGenerator<Object>

Default key generator. Computes a resulting key based on the hashcode of the given parameters.

Author:
Costin Leau

Constructor Summary
DefaultKeyGenerator()
           
 
Method Summary
 Object extract(Method method, Object... params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultKeyGenerator

public DefaultKeyGenerator()
Method Detail

extract

public Object extract(Method method,
                      Object... params)
Specified by:
extract in interface KeyGenerator<Object>