Class XARecoveryContextImpl

java.lang.Object
com.swiftmq.impl.xa.standard.XAContextImpl
com.swiftmq.impl.xa.standard.XARecoveryContextImpl

public class XARecoveryContextImpl extends XAContextImpl
  • Constructor Details

    • XARecoveryContextImpl

      public XARecoveryContextImpl(SwiftletContext ctx, XidImpl xid)
  • Method Details

    • setPrepared

      public void setPrepared(boolean b)
    • isPrepared

      public boolean isPrepared()
    • register

      public int register(String description) throws XAContextException
      Throws:
      XAContextException
    • unregister

      public void unregister(int id, boolean rollbackOnly) throws XAContextException
      Throws:
      XAContextException
    • addTransaction

      public void addTransaction(int id, String queueName, QueueTransaction queueTransaction) throws XAContextException
      Throws:
      XAContextException
    • prepare

      public void prepare() throws XAContextException
      Throws:
      XAContextException
    • commit

      public long commit(boolean onePhase) throws XAContextException
      Throws:
      XAContextException
    • rollback

      public void rollback() throws XAContextException
      Throws:
      XAContextException
    • close

      public void close()
    • toString

      public String toString()
      Overrides:
      toString in class Object