public interface XAResourceSource
XAResourceImpl
which controls the transaction of this source
through this interface.XAResourceImpl
Modifier and Type | Method and Description |
---|---|
TransactionContext |
createTransactionContext(Xid xid)
Called by
XAResourceImpl to produce a new transaction context
implementation suitable for this data source. |
TransactionContext |
getTransactionContext()
Returns the transaction context associated with this source.
|
void |
setTransactionContext(TransactionContext tx)
Sets the transaction context associated with this source.
|
void |
xaFailed()
Indicate that the resource has failed and should be discarded.
|
TransactionContext getTransactionContext()
void setTransactionContext(TransactionContext tx)
void xaFailed()
TransactionContext createTransactionContext(Xid xid)
XAResourceImpl
to produce a new transaction context
implementation suitable for this data source.Copyright © 2013. All rights reserved.