net.spy.factory
Class CacheKeyFinder.Accessor

java.lang.Object
  extended by net.spy.factory.CacheKeyFinder.Accessor
Enclosing class:
CacheKeyFinder

public abstract static class CacheKeyFinder.Accessor
extends java.lang.Object

Class to access an object from within another object.


Constructor Summary
protected CacheKeyFinder.Accessor(java.lang.reflect.AccessibleObject o)
           
 
Method Summary
 java.lang.Object get(java.lang.Object o)
          Get the value from the given object.
protected abstract  java.lang.Object realGet(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheKeyFinder.Accessor

protected CacheKeyFinder.Accessor(java.lang.reflect.AccessibleObject o)
Method Detail

get

public final java.lang.Object get(java.lang.Object o)
                           throws java.lang.Exception
Get the value from the given object.

Parameters:
o - the object
Returns:
the value
Throws:
java.lang.Exception - if an exception is thrown while accessing

realGet

protected abstract java.lang.Object realGet(java.lang.Object o)
                                     throws java.lang.Exception
Throws:
java.lang.Exception


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