public class OpenJPAVersionAndConfigurationTypeValidationPolicy extends Object implements CacheMarshaller.ValidationPolicy, Configurable
| Constructor and Description |
|---|
OpenJPAVersionAndConfigurationTypeValidationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
void |
endConfiguration()
Invoked upon completion of bean property configuration for this object.
|
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. |
void |
setConfiguration(Configuration conf)
Invoked prior to setting bean properties.
|
void |
startConfiguration()
Invoked before bean property configuration is begun on this object.
|
public OpenJPAVersionAndConfigurationTypeValidationPolicy()
public Object getCacheableData(Object o)
CacheMarshaller.ValidationPolicyCacheMarshaller should store.getCacheableData in interface CacheMarshaller.ValidationPolicypublic Object getValidData(Object o)
CacheMarshaller.ValidationPolicyo. If o is not valid, this method
will return null.getValidData in interface CacheMarshaller.ValidationPolicypublic void setConfiguration(Configuration conf)
ConfigurablesetConfiguration in interface Configurablepublic void startConfiguration()
ConfigurablestartConfiguration in interface Configurablepublic void endConfiguration()
ConfigurableendConfiguration in interface ConfigurableCopyright © 2006–2017 Apache Software Foundation. All rights reserved.