public class DefaultAccessStrategy extends java.lang.Object implements AccessStrategy
Constructor and Description |
---|
DefaultAccessStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
onInsert(java.util.Map<java.lang.String,java.lang.Object> obj)
This method will be called for each object that is about to
be put into the collection
|
void |
onResolve(java.util.Map<java.lang.String,java.lang.Object> obj)
This method woll be called for each object that is retrieved
from this collection
|
void |
setConvertStrategy(ConvertStrategy cs)
Sets the convert strategy that should be used to convert binary data
|
public void setConvertStrategy(ConvertStrategy cs)
AccessStrategy
setConvertStrategy
in interface AccessStrategy
cs
- the convert strategypublic void onInsert(java.util.Map<java.lang.String,java.lang.Object> obj)
AccessStrategy
onInsert
in interface AccessStrategy
obj
- the objectpublic void onResolve(java.util.Map<java.lang.String,java.lang.Object> obj)
AccessStrategy
onResolve
in interface AccessStrategy
obj
- the object