Examples of ArjunaTransactionImple


Examples of com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple

            }
            final ControlImple controlImple = controlWrapper.getImple();
            if (controlImple == null) {
                return;
            }
            final ArjunaTransactionImple arjunaTransactionImple = controlImple.getImplHandle();
            if (arjunaTransactionImple == null) {
                return;
            }
            logger.debug("Applying a JTS hack to setControlHandle " + controlImple + " on subordinate tx " + subordinateTransaction);
            arjunaTransactionImple.setControlHandle(controlImple);
        }
    }
View Full Code Here

Examples of com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple

      System.exit(0);
        }
    }
      }
     
      ArjunaTransactionImple tx = null;
     
      // Run ten interations first.

      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.

      Date startTime = new Date();

      // Run 1000 interations.
     
      for (int i = 0; i < iters; i++)
      {
    tx = new ArjunaTransactionImple((Control) null, (ArjunaTransactionImple) null);

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

      // Record the end time.

      Date endTime = new Date();
View Full Code Here

Examples of com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple

    ServerControl toReturn = null;

    try
    {
      Control handle = parent.getControl();
      ArjunaTransactionImple tranHandle = parent.getImplHandle();

      toReturn = new ServerControl(actUid, handle, tranHandle, realCoord,
          realTerm);

      handle = null;
View Full Code Here

Examples of com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple

    public final org.omg.CosTransactions.Status get_status () throws SystemException
    {
        if (_controlImpl != null)
        {
            ArjunaTransactionImple tx = _controlImpl.getImplHandle();
           
            if (tx == null)
                return _controlImpl.getFinalStatus();
            else
                return tx.get_status();
        }
        else
        {
            Coordinator c = null;
View Full Code Here

Examples of com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple

    }

    _theTerminator = null;
    _theCoordinator = null;
    _parentControl = parentCon;
    _transactionHandle = new ArjunaTransactionImple(_parentControl,
        parentTran);
    _theUid = _transactionHandle.get_uid();
    _transactionImpl = null;
    _myControl = null;
    _destroyed = false;
View Full Code Here

Examples of com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple

        /*
         * If this is a local transaction and we haven't zero-ed the transaction
         * reference then resume it. Otherwise go with the Control.
         */
       
        ArjunaTransactionImple tx = ((which.getImple() == null) ? null : which.getImple().getImplHandle());
       
        if (which.isLocal() && (tx != null))
            resumeImple(which.getImple());
        else
            resume(which.getControl());
View Full Code Here

Examples of com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple

    ServerControl toReturn = null;

    try
    {
      Control handle = parent.getControl();
      ArjunaTransactionImple tranHandle = parent.getImplHandle();

      toReturn = new ServerControl(actUid, handle, tranHandle, realCoord,
          realTerm);

      handle = null;
View Full Code Here

Examples of com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple

    public final org.omg.CosTransactions.Status get_status () throws SystemException
    {
        if (_controlImpl != null)
        {
            ArjunaTransactionImple tx = _controlImpl.getImplHandle();
           
            if (tx == null)
                return _controlImpl.getFinalStatus();
            else
                return tx.get_status();
        }
        else
        {
            Coordinator c = null;
View Full Code Here

Examples of com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple

        /*
         * If this is a local transaction and we haven't zero-ed the transaction
         * reference then resume it. Otherwise go with the Control.
         */

        ArjunaTransactionImple tx = ((which.getImple() == null) ? null : which.getImple().getImplHandle());

        if (which.isLocal() && (tx != null))
            resumeImple(which.getImple());
        else
            resume(which.getControl());
View Full Code Here

Examples of com.arjuna.ats.internal.jts.orbspecific.coordinator.ArjunaTransactionImple

    }

    _theTerminator = null;
    _theCoordinator = null;
    _parentControl = parentCon;
    _transactionHandle = new ArjunaTransactionImple(_parentControl,
        parentTran);
    _theUid = _transactionHandle.get_uid();
    _transactionImpl = null;
    _myControl = null;
    _destroyed = false;
View Full Code Here
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.