org.exolab.castor.persist
public interface XAResourceSource
Version: $Revision: 5951 $ $Date: 2005-06-20 06:01:00 -0600 (Mon, 20 Jun 2005) $
See Also: 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. |