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 Object

Class to access an object from within another object.


Constructor Summary
protected CacheKeyFinder.Accessor(AccessibleObject o)
           
 
Method Summary
 Object get(Object o)
          Get the value from the given object.
protected abstract  Object realGet(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(AccessibleObject o)
Method Detail

get

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

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

realGet

protected abstract Object realGet(Object o)
                           throws Exception
Throws:
Exception


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