com.googlecode.ehcache.annotations.key
Class ReflectionHashCodeCacheKeyGenerator

java.lang.Object
  extended by com.googlecode.ehcache.annotations.key.AbstractCacheKeyGenerator<T>
      extended by com.googlecode.ehcache.annotations.key.AbstractDeepCacheKeyGenerator<G,T>
          extended by com.googlecode.ehcache.annotations.key.AbstractHashingCacheKeyGenerator<HashCodeCacheKeyGenerator.LongGenerator,java.lang.Long>
              extended by com.googlecode.ehcache.annotations.key.HashCodeCacheKeyGenerator
                  extended by com.googlecode.ehcache.annotations.key.ReflectionHashCodeCacheKeyGenerator
All Implemented Interfaces:
CacheKeyGenerator<java.lang.Long>, ReflectionHelperAware

Deprecated. HashCodeCacheKeyGenerator includes support for reflection by setting AbstractDeepCacheKeyGenerator.setUseReflection(boolean) to true. Use that class directly.

@Deprecated
public class ReflectionHashCodeCacheKeyGenerator
extends HashCodeCacheKeyGenerator

Version:
$Revision: 656 $
Author:
Eric Dalquist

Nested Class Summary
 
Nested classes/interfaces inherited from class com.googlecode.ehcache.annotations.key.HashCodeCacheKeyGenerator
HashCodeCacheKeyGenerator.LongGenerator
 
Field Summary
static java.lang.String DEFAULT_BEAN_NAME
          Deprecated. Name of the bean this generator is registered under using the default constructor.
 
Fields inherited from class com.googlecode.ehcache.annotations.key.HashCodeCacheKeyGenerator
INITIAL_HASH, MULTIPLIER
 
Constructor Summary
ReflectionHashCodeCacheKeyGenerator()
          Deprecated.  
ReflectionHashCodeCacheKeyGenerator(boolean includeMethod, boolean includeParameterTypes)
          Deprecated.  
 
Method Summary
 
Methods inherited from class com.googlecode.ehcache.annotations.key.HashCodeCacheKeyGenerator
append, append, append, append, append, append, append, append, appendGraphCycle, appendHash, appendNull, generateKey, getGenerator
 
Methods inherited from class com.googlecode.ehcache.annotations.key.AbstractHashingCacheKeyGenerator
append, appendClass, appendEnum, shouldReflect
 
Methods inherited from class com.googlecode.ehcache.annotations.key.AbstractDeepCacheKeyGenerator
beginRecursion, deepHashCode, deepHashCode, deepHashCode, deepHashCode, endRecursion, generateKey, getReflectionHelper, isUseReflection, reflectionDeepHashCode, setReflectionHelper, setUseReflection, toString
 
Methods inherited from class com.googlecode.ehcache.annotations.key.AbstractCacheKeyGenerator
generateKey, isCheckforCycles, isIncludeMethod, isIncludeParameterTypes, register, setCheckforCycles, setIncludeMethod, setIncludeParameterTypes, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_BEAN_NAME

public static final java.lang.String DEFAULT_BEAN_NAME
Deprecated. 
Name of the bean this generator is registered under using the default constructor.

See Also:
Constant Field Values
Constructor Detail

ReflectionHashCodeCacheKeyGenerator

public ReflectionHashCodeCacheKeyGenerator()
Deprecated. 
See Also:
AbstractCacheKeyGenerator.AbstractCacheKeyGenerator()

ReflectionHashCodeCacheKeyGenerator

public ReflectionHashCodeCacheKeyGenerator(boolean includeMethod,
                                           boolean includeParameterTypes)
Deprecated. 
See Also:
AbstractCacheKeyGenerator.AbstractCacheKeyGenerator(boolean, boolean)


Copyright © 2011. All Rights Reserved.