Package com.arjuna.ats.internal.jta.resources.arjunacore

Examples of com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord


          record = null;
        }
      }
      else
      {
        record = new XAResourceRecord(this, xaRes, xid, params);
      }

      if ((record == null)
          || (_theTransaction.add(record) != AddOutcome.AR_ADDED))
      {
View Full Code Here


                record = null;
            }
        }
        else
        {
            record = new XAResourceRecord(this, xaRes, xid, params);
        }

        return record;
    }
View Full Code Here

                record = null;
            }
        }
        else
        {
            record = new XAResourceRecord(this, xaRes, xid, params);
        }

        return record;
    }
View Full Code Here

            record = ((RecoveryAbstractRecord) record).record();
        }

        if (record instanceof XAResourceRecord)
        {
            XAResourceRecord xarr = (XAResourceRecord) record;

            if (xarr.value() != null)
            {
                try
                {
                    XAResourceInfo xares = new XAResourceInfo((XAResource) xarr.value(), xarr.getXid(), "UNKNOWN");

                    statePanel.setData("Product Name", xares.getEisProductName());
                    statePanel.setData("Product Version", xares.getEisProductVersion());
                    statePanel.setData("Tx State", xares.getTxState());
                    statePanel.setData("Xid", xares.getXid());
                    statePanel.setData("Timeout", String.valueOf(xares.getTimeout()));
                }
                catch (Exception e)
                {
                    statePanel.setData("XA Resource Info", xarr.value().toString());
                }
            }
        }
    }
View Full Code Here

                        {
                            ((ResourceRecord)ar).resourceHandle().forget();
                        }
                        else if (ar instanceof XAResourceRecord)
                        {
                            XAResourceRecord rc = (XAResourceRecord) ar;

                            ((XAResource)rc.value()).forget(rc.getXid());
                        }
                        else if (ar instanceof RecoveryAbstractRecord)
                        {
                            ar = ((RecoveryAbstractRecord) ar).record();
                            ar.forgetHeuristic();
View Full Code Here

                record = null;
            }
        }
        else
        {
            record = new XAResourceRecord(this, xaRes, xid, params);
        }

        return record;
    }
View Full Code Here

/*  936 */           record = null;
/*      */         }
/*      */       }
/*      */       else
/*      */       {
/*  941 */         record = new XAResourceRecord(this, xaRes, xid, params);
/*      */       }
/*      */
/*  944 */       if ((record == null) || (this._theTransaction.add((AbstractRecord)record) != 2))
/*      */       {
/*  947 */         markRollbackOnly();
View Full Code Here

                record = null;
            }
        }
        else
        {
            record = new XAResourceRecord(this, xaRes, xid, params);
        }

        return record;
    }
View Full Code Here

        {
            record = new LastResourceRecord(new XAOnePhaseResource(xaRes, xid, params));
        }
        else
        {
            record = new XAResourceRecord(this, xaRes, xid, params);
        }

        return record;
    }
View Full Code Here

                record = null;
            }
        }
        else
        {
            record = new XAResourceRecord(this, xaRes, xid, params);
        }

        return record;
    }
View Full Code Here

TOP

Related Classes of com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord

Copyright © 2018 www.massapicom. 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.