|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the means to operate FOS transactions.
Method Summary | |
void |
begin()
Begins a FOS transaction with no DTP context. |
void |
begin(javax.transaction.xa.Xid xid)
Begins a FOS transaction with a DTP context. |
void |
commit()
Commits a FOS transaction. |
boolean |
isActive()
Specifies if this FOS transaction is active or not. |
boolean |
prepare()
Prepares a FOS transaction for commit. |
void |
rollback()
Roolbacks a FOS transaction. |
Methods inherited from interface org.objectweb.perseus.fos.api.FosAccess |
delete, deleteDir, exist, existDir, read, scan, write |
Method Detail |
public void begin() throws FosException
FosException
public void begin(javax.transaction.xa.Xid xid) throws FosException
xid
- The DTP identifier associated with this FOS transaction. It
is null if non XA runtime environment.
FosException
public boolean isActive()
public boolean prepare() throws FosException
FosException
public void commit() throws FosException
FosException
public void rollback() throws FosException
FosException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |