Kodo 4.1.4 generated on June 22 2007

kodo.conf
Interface CacheMarshaller.ValidationPolicy

All Known Implementing Classes:
KodoVersionAndConfigurationTypeValidationPolicy
Enclosing interface:
CacheMarshaller

public static interface CacheMarshaller.ValidationPolicy

Validation policies are responsible for computing whether or not a cached data structure is valid for the current context.

getValidCachedData(getCacheableData(o), conf) should return an object equivalent to o in the expected case.

Implementations of this class will often also implement Configurable in order to receive the current Configuration.


Method Summary
 Object getCacheableData(Object o)
          Return an object that the CacheMarshaller should store.
 Object getValidData(Object o)
          Returns an object that this policy considers to be valid, based on o.
 

Method Detail

getValidData

Object getValidData(Object o)
Returns an object that this policy considers to be valid, based on o. If o is not valid, this method will return null.


getCacheableData

Object getCacheableData(Object o)
Return an object that the CacheMarshaller should store.


Kodo 4.1.4 generated on June 22 2007

Copyright 2001-2006 BEA Systems, Inc. All Rights Reserved.