public interface NativeXAResource extends XAResource
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY
Modifier and Type | Method and Description |
---|---|
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(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).
|
commit, end, forget, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, start
void open() throws XAException
XAException
void close() throws XAException
XAException
boolean isInitialized(Thread thread)
thread
- the thread to be checked for resource initialization.void enlistConnectionInXA()
Copyright © 2020. All rights reserved.