Examples of XAResourceRecord


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

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

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

        return record;
    }
View Full Code Here

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

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

        return record;
    }
View Full Code Here

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

            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

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

                        {
                            ((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

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

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

        return record;
    }
View Full Code Here

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

/*  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

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

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

        return record;
    }
View Full Code Here

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

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

        return record;
    }
View Full Code Here

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

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

        return record;
    }
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.