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.ValidationPolicy
CacheMarshaller
should store.getCacheableData
in interface CacheMarshaller.ValidationPolicy
public Object getValidData(Object o)
CacheMarshaller.ValidationPolicy
o
. If o
is not valid, this method
will return null
.getValidData
in interface CacheMarshaller.ValidationPolicy
public void setConfiguration(Configuration conf)
Configurable
setConfiguration
in interface Configurable
public void startConfiguration()
Configurable
startConfiguration
in interface Configurable
public void endConfiguration()
Configurable
endConfiguration
in interface Configurable
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.