|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XAResourceSource
A data source that wishes to particiate as an XA resource
implements this interface. The source then returns an XAResourceImpl which controls the transaction of this source
through this interface.
XAResourceImpl| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||