Examples of commit()


Examples of com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple.commit()

         if (tx != null)
         {
            try
            {
               mgr.commit();
            }
            catch (Exception ignore)
            {
            }
         }

Examples of com.arjuna.ats.internal.jta.transaction.arjunacore.jca.XATerminatorImple.commit()

        final Xid xid = new XidImple(new Uid());
        final TransactionImple tm = TxImporter.importTransaction(xid);
        final TestSynchronization sync = new TestSynchronization();
        tm.registerSynchronization(sync);
        final XATerminator xaTerminator = new XATerminatorImple();
        xaTerminator.commit(xid, true);
        assertTrue(sync.isBeforeCompletionDone());
        assertTrue(sync.isAfterCompletionDone());
        assertEquals(javax.transaction.Status.STATUS_COMMITTED, tm.getStatus());
    }

Examples of com.arjuna.ats.internal.jts.orbspecific.CurrentImple.commit()

      if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
      {
    _value = 0;

    current.commit(false);
      }
      else
    current.rollback();
  }
  catch (Exception e)

Examples of com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple.commit()

      for (int i = 0; i < 10; i++)
      {
    tx = new ArjunaTransactionImple((Control) null, (ArjunaTransactionImple) null);

    if (doCommit)
        tx.commit(true);
    else
        tx.rollback();
      }

      // Record the start time.

Examples of com.arjuna.ats.internal.jts.orbspecific.interposition.coordinator.ServerTransaction.commit()

   * We should not get exceptions here.
   */
 
  try
  {
      theTransaction.commit(false);
  }
  catch (TRANSACTION_ROLLEDBACK e1)
  {
      if (jtsLogger.loggerI18N.isWarnEnabled())
      {

Examples of com.arjuna.ats.jts.extensions.AtomicTransaction.commit()

        atomicTransaction.begin();

        explicitObject.tran_commit_writelock(OTS.current().get_control());

        atomicTransaction.commit(true);
      }

      Date end = new Date();

      float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);

Examples of com.arjuna.mw.wst.UserTransaction.commit()

            } catch(Exception einner) {
            }
            throw eouter;
        }

      ut.commit();
    }
}

Examples of com.arjuna.mw.wst11.UserTransaction.commit()

                    .println("[CLIENT] Beginning Atomic Transaction (All calls to Web services that support WS-AT wil be included in this transaction)");
            ut.begin();
            System.out.println("[CLIENT] invoking makeBooking() on WS");
            client.makeBooking();
            System.out.println("[CLIENT] committing Atomic Transaction (This will cause the AT to complete successfully)");
            ut.commit();

            out.write("<p><i>Go to your WildFly console or Server log to see the result of the transaction</i></p>");

        } catch (Exception e) {
            e.printStackTrace();

Examples of com.arjuna.mw.wstx.UserTransaction.commit()

      ut.begin();
     
      ut.setRollbackOnly();
     
      ut.commit();
  }
  catch (TransactionRolledBackException ex)
  {
      // we should get here
    } catch (Exception eouter) {

Examples of com.arjuna.webservices.wsat.ParticipantInboundEvents.commit()

        if (participant != null)
        {
            try
            {
                participant.commit(commit, addressingContext, arjunaContext) ;
            }
            catch (final Throwable th)
            {
                if (WSTLogger.arjLoggerI18N.isWarnEnabled())
                {
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.