org.exolab.castor.persist
public interface XAResourceSource
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:50 $
See Also: XAResourceImpl
Method Summary | |
---|---|
TransactionContext | createTransactionContext(Xid xid)
Called by {@link 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. |