Public Member Functions | |
CacheablePropertySupport (Object instance, Class valueType, Method getter, Method setter, CachingStrategy cachingStrategy) | |
Object | getValue () throws IllegalAccessException, IllegalArgumentException, InvocationTargetException |
void | setValue (Object newValue) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException |
PropertyEditor | getPropertyEditor () |
void | resetCache () |
Private Attributes | |
Object | cachedValue |
CachingStrategy | cachingStrategy |
|
|
|
Returns an instance of property editor for this property. The implementation reconizes a special type of PropertyEditor that implements
|
|
overrides getValue, and accesses the Bean only if the cache has expired |
|
reset the cache for this property |
|
overrides setValue, and caches the value |
|
cached value |
|
|