|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for something that makes up a transactional resource.
| Method Summary | |
void |
begin()
|
void |
commit()
Commits the changes done inside this transaction reasource. |
int |
getStatus()
Returns the current status of this transaction resource. |
javax.transaction.xa.Xid |
getXid()
Returns the Xid this transctional resource is associated with. |
int |
prepare()
Prepares the changes done inside this transaction reasource. |
void |
resume()
|
void |
rollback()
Rolls back the changes done inside this transaction reasource. |
void |
setStatus(int status)
Sets the status of this transctional resource. |
void |
suspend()
|
| Method Detail |
public void commit()
throws javax.transaction.xa.XAException
javax.transaction.xa.XAException - when anything goes wrong the error must be described in XA
notation
public int prepare()
throws javax.transaction.xa.XAException
XAResource.prepare(Xid).
javax.transaction.xa.XAException - when anything goes wrong the error must be described in XA
notation
public void rollback()
throws javax.transaction.xa.XAException
javax.transaction.xa.XAException - when anything goes wrong the error must be described in XA
notation
public void begin()
throws javax.transaction.xa.XAException
javax.transaction.xa.XAException
public void suspend()
throws javax.transaction.xa.XAException
javax.transaction.xa.XAException
public void resume()
throws javax.transaction.xa.XAException
javax.transaction.xa.XAExceptionpublic int getStatus()
Status.public void setStatus(int status)
getStatus() afterwards.
status - the status to be setpublic javax.transaction.xa.Xid getXid()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||