|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extention of the LocalTransaction
interface
to tell whether the underlying managed connection is currently participating
in some transaction or not and to obtain the associated Xid.
Method Summary | |
javax.transaction.xa.Xid |
getXid()
Get the associated Xid. |
boolean |
inTransaction()
Check if managed connection is currently participating in transaction. |
Methods inherited from interface javax.resource.spi.LocalTransaction |
begin, commit, rollback |
Method Detail |
public boolean inTransaction() throws javax.resource.ResourceException
true
if managed connection is participating in
transaction.
javax.resource.ResourceException
- if operation cannot be completed.public javax.transaction.xa.Xid getXid()
Xid
representing a transaction ID that is
managed by this local transaction.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |