|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NativeXAResource
This interface extends JTA XAResource interface and defines new methods for thread association support and resource initialization.
| Field Summary |
|---|
| Fields inherited from interface javax.transaction.xa.XAResource |
|---|
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY |
| Method Summary | |
|---|---|
void |
close()
Closes the RM for the calling thread (xa_close). |
void |
enlistConnectionInXA()
enlist the JDBC connection in XA (needed to support MSSQLServer) this should be called once per connection per transaction |
boolean |
isInitialized(java.lang.Thread thread)
checks if the thread has opened (xa_open) the RM atleast once. |
void |
open()
Opens the RM for the calling thread (xa_open). |
| Methods inherited from interface javax.transaction.xa.XAResource |
|---|
commit, end, forget, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, start |
| Method Detail |
|---|
void open()
throws XAException
XAException
void close()
throws XAException
XAExceptionboolean isInitialized(java.lang.Thread thread)
thread - the thread to be checked for resource initialization.
void enlistConnectionInXA()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||