Class GeronimoTransactionManager

    • Constructor Detail

      • GeronimoTransactionManager

        public GeronimoTransactionManager()
                                   throws javax.transaction.xa.XAException
        Throws:
        javax.transaction.xa.XAException
      • GeronimoTransactionManager

        public GeronimoTransactionManager​(int defaultTransactionTimeoutSeconds)
                                   throws javax.transaction.xa.XAException
        Throws:
        javax.transaction.xa.XAException
      • GeronimoTransactionManager

        public GeronimoTransactionManager​(int defaultTransactionTimeoutSeconds,
                                          TransactionLog transactionLog)
                                   throws javax.transaction.xa.XAException
        Throws:
        javax.transaction.xa.XAException
      • GeronimoTransactionManager

        public GeronimoTransactionManager​(int defaultTransactionTimeoutSeconds,
                                          XidFactory xidFactory,
                                          TransactionLog transactionLog)
                                   throws javax.transaction.xa.XAException
        Throws:
        javax.transaction.xa.XAException
    • Method Detail

      • commit

        public void commit​(javax.transaction.xa.Xid xid,
                           boolean onePhase)
                    throws javax.transaction.xa.XAException
        Specified by:
        commit in interface javax.resource.spi.XATerminator
        Throws:
        javax.transaction.xa.XAException
        See Also:
        XATerminator.commit(javax.transaction.xa.Xid, boolean)
      • forget

        public void forget​(javax.transaction.xa.Xid xid)
                    throws javax.transaction.xa.XAException
        Specified by:
        forget in interface javax.resource.spi.XATerminator
        Throws:
        javax.transaction.xa.XAException
        See Also:
        XATerminator.forget(javax.transaction.xa.Xid)
      • prepare

        public int prepare​(javax.transaction.xa.Xid xid)
                    throws javax.transaction.xa.XAException
        Specified by:
        prepare in interface javax.resource.spi.XATerminator
        Throws:
        javax.transaction.xa.XAException
        See Also:
        XATerminator.prepare(javax.transaction.xa.Xid)
      • recover

        public javax.transaction.xa.Xid[] recover​(int flag)
                                           throws javax.transaction.xa.XAException
        Specified by:
        recover in interface javax.resource.spi.XATerminator
        Throws:
        javax.transaction.xa.XAException
        See Also:
        XATerminator.recover(int)
      • rollback

        public void rollback​(javax.transaction.xa.Xid xid)
                      throws javax.transaction.xa.XAException
        Specified by:
        rollback in interface javax.resource.spi.XATerminator
        Throws:
        javax.transaction.xa.XAException
        See Also:
        XATerminator.rollback(javax.transaction.xa.Xid)
      • begin

        public void begin​(javax.transaction.xa.Xid xid,
                          long txTimeoutMillis)
                   throws javax.transaction.xa.XAException,
                          javax.transaction.InvalidTransactionException,
                          javax.transaction.SystemException,
                          ImportedTransactionActiveException
        Specified by:
        begin in interface XAWork
        Throws:
        javax.transaction.xa.XAException
        javax.transaction.InvalidTransactionException
        javax.transaction.SystemException
        ImportedTransactionActiveException
      • end

        public void end​(javax.transaction.xa.Xid xid)
                 throws javax.transaction.xa.XAException,
                        javax.transaction.SystemException
        Specified by:
        end in interface XAWork
        Throws:
        javax.transaction.xa.XAException
        javax.transaction.SystemException