| java.lang.Object org.objectweb.speedo.mapper.lib.JormStorageManager
JormStorageManager | public class JormStorageManager implements StorageManager,BindingController(Code) | | This class is an implementation of the StorageManager interface based on
Jorm.The single hypothesis concerns the architecture of the CacheEntry:
- the CacheEntry implements the PBinding interface
- the obj parameters implement StateItf and PAceessor.
author: S.Chassande-Barrioz |
Method Summary | |
public void | beginWS(WorkingSet ws) | public void | bindFc(String s, Object o) | public void | endWS(WorkingSet ws) | public Object | export(ConnectionHolder context, Object obj) | public Object | export(ConnectionHolder context, Object obj, Object hints) | public String[] | listFc() | public Object | lookupFc(String s) | public void | read(ConnectionHolder context, Object oid, State obj) | public void | read(WorkingSet ws, Object oid, State obj, boolean forUpdate) | public void | unbindFc(String s) | public void | unexport(ConnectionHolder context, Object oid) | public void | unexport(ConnectionHolder context, Object oid, Object hints) | public void | write(ConnectionHolder context, Object oid, State obj) |
JORM_FACTORY_BINDING | final public static String JORM_FACTORY_BINDING(Code) | | |
logger | protected Logger logger(Code) | | |
ws2removedpo | protected Map ws2removedpo(Code) | | listes for each working set the persistent object removed in other
working set. When a working set want to read a persistent object from
the data support, a prefetch buffer can be used. But the prefetch buffer
can contains a removed object.
|
beginWS | public void beginWS(WorkingSet ws)(Code) | | |
endWS | public void endWS(WorkingSet ws)(Code) | | forget the working set
|
export | public Object export(ConnectionHolder context, Object obj) throws PersistenceException(Code) | | |
read | public void read(ConnectionHolder context, Object oid, State obj) throws PersistenceException(Code) | | |
read | public void read(WorkingSet ws, Object oid, State obj, boolean forUpdate) throws PersistenceException(Code) | | |
unexport | public void unexport(ConnectionHolder context, Object oid) throws PersistenceException(Code) | | |
unexport | public void unexport(ConnectionHolder context, Object oid, Object hints) throws PersistenceException(Code) | | |
write | public void write(ConnectionHolder context, Object oid, State obj) throws PersistenceException(Code) | | |
|
|