net.spy.factory
Class CacheKeyFinder

java.lang.Object
  extended by net.spy.SpyObject
      extended by net.spy.factory.CacheKeyFinder

public class CacheKeyFinder
extends SpyObject

Locate relevant CacheKeys for a given class.


Nested Class Summary
static class CacheKeyFinder.Accessor
          Class to access an object from within another object.
 
Constructor Summary
protected CacheKeyFinder()
           
 
Method Summary
 Map<CacheKey,CacheKeyFinder.Accessor> getCacheKeys(Class<?> c)
          Get the cache keys for the given class.
static CacheKeyFinder getInstance()
          Get the singleton CacheKeyFinder instance.
static void setInstance(CacheKeyFinder to)
          Set the singleton CacheKeyFinder instance.
 
Methods inherited from class net.spy.SpyObject
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheKeyFinder

protected CacheKeyFinder()
Method Detail

getInstance

public static CacheKeyFinder getInstance()
Get the singleton CacheKeyFinder instance.


setInstance

public static void setInstance(CacheKeyFinder to)
Set the singleton CacheKeyFinder instance.


getCacheKeys

public Map<CacheKey,CacheKeyFinder.Accessor> getCacheKeys(Class<?> c)
Get the cache keys for the given class.

Parameters:
c - the class to search
Returns:
the cache keys for the given class


Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.