Interface XAResourceSource


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.
Version:
$Revision: 7088 $ $Date: 2005-06-20 06:01:00 -0600 (Mon, 20 Jun 2005) $
Author:
Assaf Arkin
See Also:
  • Method Details

    • getTransactionContext

      TransactionContext getTransactionContext()
      Returns the transaction context associated with this source.
    • setTransactionContext

      void setTransactionContext(TransactionContext tx)
      Sets the transaction context associated with this source.
    • xaFailed

      void xaFailed()
      Indicate that the resource has failed and should be discarded.
    • createTransactionContext

      TransactionContext createTransactionContext(Xid xid)
      Called by XAResourceImpl to produce a new transaction context implementation suitable for this data source.