Examples of GlobalTID


Examples of com.sun.jts.CosTransactions.GlobalTID

   **/

    private Transaction createTransactionImpl(Control control)
        throws Unavailable, SystemException
    {
        GlobalTID gtid = null;
        if (Configuration.isLocalFactory()) {
            gtid = ((ControlImpl) control).getGlobalTID();
        } else {
            ControlImpl cntrlImpl = ControlImpl.servant(JControlHelper.narrow(control));
            gtid = cntrlImpl.getGlobalTID();
View Full Code Here

Examples of com.sun.jts.CosTransactions.GlobalTID

            workExc.setErrorCode(WorkException.TX_RECREATE_FAILED);
            throw workExc;
        }
       
        // recreate the transaction       
        GlobalTID tid = new GlobalTID(xid);
        try {       
            CurrentTransaction.recreate(
    tid, (int) ((timeout <= 0) ? 0 : timeout));
        } catch (Throwable exc) {
            String errorCode = WorkException.TX_RECREATE_FAILED;
View Full Code Here

Examples of com.sun.jts.CosTransactions.GlobalTID

     *
     * @param xid the Xid object representing a transaction.
     */   
    public static void release(Xid xid) throws WorkException {
               
        GlobalTID tid = new GlobalTID(xid);
        try {       
            CurrentTransaction.release(tid);
        } catch (Throwable exc) {
            String errorCode = WorkException.UNDEFINED;
            if (exc instanceof INTERNAL) {
View Full Code Here

Examples of com.sun.jts.CosTransactions.GlobalTID

        }

        Coordinator coord = Utility.getCoordinator(Utility.getControl());
        JCoordinator jcoord = JCoordinatorHelper.narrow(coord);
        if (jcoord != null) {
            GlobalTID gtid = new GlobalTID(jcoord.getGlobalTID());
            crashList.put(gtid, crashPoint);
        }
    }
View Full Code Here

Examples of com.sun.jts.CosTransactions.GlobalTID

        }

        Coordinator coord = Utility.getCoordinator(Utility.getControl());
        JCoordinator jcoord = JCoordinatorHelper.narrow(coord);
        if (jcoord != null) {
            GlobalTID gtid = new GlobalTID(jcoord.getGlobalTID());
            waitList.put(gtid, waitPoint);
            waitTime.put(gtid, new Integer(waitDuration));
        }
    }
View Full Code Here

Examples of com.sun.jts.CosTransactions.GlobalTID

   **/

    private Transaction createTransactionImpl(Control control)
        throws Unavailable, SystemException
    {
        GlobalTID gtid = null;
        if (Configuration.isLocalFactory()) {
            gtid = ((ControlImpl) control).getGlobalTID();
        } else {
            ControlImpl cntrlImpl = ControlImpl.servant(JControlHelper.narrow(control));
            gtid = cntrlImpl.getGlobalTID();
View Full Code Here

Examples of com.sun.jts.CosTransactions.GlobalTID

            workExc.setErrorCode(WorkException.TX_RECREATE_FAILED);
            throw workExc;
        }
       
        // recreate the transaction       
        GlobalTID tid = new GlobalTID(xid);
        try {       
            CurrentTransaction.recreate(
    tid, (int) ((timeout <= 0) ? 0 : timeout));
        } catch (Throwable exc) {
            String errorCode = WorkException.TX_RECREATE_FAILED;
View Full Code Here

Examples of com.sun.jts.CosTransactions.GlobalTID

     *
     * @param xid the Xid object representing a transaction.
     */   
    public static void release(Xid xid) throws WorkException {
               
        GlobalTID tid = new GlobalTID(xid);
        try {       
            CurrentTransaction.release(tid);
        } catch (Throwable exc) {
            String errorCode = WorkException.UNDEFINED;
            if (exc instanceof INTERNAL) {
View Full Code Here

Examples of com.sun.jts.CosTransactions.GlobalTID

        if (crashPoint == null) {
      _logger.log(Level.SEVERE,"jts.invalid_crash_point");
            return;
        }

        GlobalTID gtid = getGlobalTID();
        if (gtid != null) {
            crashList.put(gtid, crashPoint);
        }
    }
View Full Code Here

Examples of com.sun.jts.CosTransactions.GlobalTID

        if (waitPoint == null) {
      _logger.log(Level.SEVERE,"jts.invalid_wait_point");
            return;
        }

        GlobalTID gtid = getGlobalTID();
        if (gtid != null) {
            waitList.put(gtid, waitPoint);
            waitTime.put(gtid, new Integer(waitDuration));
        }
    }
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.