SimpleKeyGenerator
 or custom KeyGenerator implementations based on hash codes@Deprecated public class DefaultKeyGenerator extends Object implements KeyGenerator
null parameters given.
 NOTE: As this implementation returns only a hash of the parameters
 it is possible for key collisions to occur. Since Spring 4.0 the
 SimpleKeyGenerator is used when no explicit key generator
 has been defined. This class remains for applications that do not
 wish to migrate to the SimpleKeyGenerator.
| Modifier and Type | Field and Description | 
|---|---|
| static int | NO_PARAM_KEYDeprecated.  | 
| static int | NULL_PARAM_KEYDeprecated.  | 
| Constructor and Description | 
|---|
| DefaultKeyGenerator()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | generate(Object target,
        Method method,
        Object... params)Deprecated.  Generate a key for the given method and its parameters. | 
public static final int NO_PARAM_KEY
public static final int NULL_PARAM_KEY
public Object generate(Object target, Method method, Object... params)
KeyGeneratorgenerate in interface KeyGeneratortarget - the target instancemethod - the method being calledparams - the method parameters (with any var-args expanded)