|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
It defines a manager permiting to manage a persitent object.
Method Summary | |
---|---|
void |
beginWS(WorkingSet ws)
Informes the Storage manager of the begining of a working set |
void |
endWS(WorkingSet ws)
Informes the Storage manager of the end of a working set |
java.lang.Object |
export(ConnectionHolder context,
java.lang.Object obj)
Makes persitent an object. |
java.lang.Object |
export(ConnectionHolder context,
java.lang.Object obj,
java.lang.Object hints)
Makes persitent an object. |
void |
read(ConnectionHolder context,
java.lang.Object oid,
State state)
Reads data of a persistent from the support object and puts them into an instance. |
void |
read(WorkingSet context,
java.lang.Object oid,
State state)
Reads data of a persistent from the support object and puts them into an instance. |
void |
unexport(ConnectionHolder context,
java.lang.Object oid)
Destroyes a persistent object |
void |
unexport(ConnectionHolder context,
java.lang.Object oid,
java.lang.Object hints)
Destroyes a persistent object |
void |
write(ConnectionHolder context,
java.lang.Object oid,
State state)
Reads data of a persistent from the support object and puts them into an instance. |
Method Detail |
public java.lang.Object export(ConnectionHolder context, java.lang.Object obj) throws PersistenceException
context
- permits to access to the data support.obj
- is the exported persistent object
PersistenceException
public java.lang.Object export(ConnectionHolder context, java.lang.Object obj, java.lang.Object hints) throws PersistenceException
context
- permits to access to the data support.obj
- is the exported persistent objecthints
- helps to define the name of the persistent object.
PersistenceException
public void unexport(ConnectionHolder context, java.lang.Object oid) throws PersistenceException
context
- permits to access to the data support.oid
- is the object identifier of the removed persistent object.
PersistenceException
public void unexport(ConnectionHolder context, java.lang.Object oid, java.lang.Object hints) throws PersistenceException
context
- permits to access to the data support.oid
- is the object identifier of the removed persistent object.hints
- helps to remove the persistent object.
PersistenceException
public void read(ConnectionHolder context, java.lang.Object oid, State state) throws PersistenceException
context
- permits to access to the data support.oid
- is the identifier of the persistent objectstate
- is an instance of a persistent object which must be filled by
the data read from the support
PersistenceException
public void read(WorkingSet context, java.lang.Object oid, State state) throws PersistenceException
context
- permits to access to the data support and to manage a
prefetching context.oid
- is the identifier of the persistent objectstate
- is an instance of a persistent object which must be filled by
the data read from the support
PersistenceException
public void write(ConnectionHolder context, java.lang.Object oid, State state) throws PersistenceException
context
- permits to access to the data support.oid
- is the identifier of the persistent objectstate
- the the persistent object instance which contains the data
which must be written in the support
PersistenceException
public void beginWS(WorkingSet ws)
ws
- the working set which startspublic void endWS(WorkingSet ws)
ws
- the working set which finishes
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |