/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/ |
H A D | XATerminator.java | 57 * Commits the global transaction specified by xid. 59 * @param xid A global transaction identifier 62 * commit protocol to commit the work done on behalf of xid. 73 void commit(Xid xid, boolean onePhase) throws XAException; argument 79 * @param xid A global transaction identifier. 85 void forget(Xid xid) throws XAException; argument 89 * of the transaction specified in xid. 91 * @param xid A global transaction identifier. 105 int prepare(Xid xid) throws XAException; argument 133 * @param xid 144 rollback(Xid xid) argument [all...] |
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/work/ |
H A D | ExecutionContext.java | 78 private Xid xid; field in class:ExecutionContext 89 * @param xid transaction context. 91 public void setXid(Xid xid) { this.xid = xid; } argument 97 public Xid getXid() { return this.xid; }
|
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/api/ |
H A D | TransactionImport.java | 59 * @param xid the Xid object representing a transaction. 61 public void recreate(Xid xid, long timeout); argument 70 * @param xid the Xid object representing a transaction. 72 public void release(Xid xid); argument
|
H A D | XAResourceWrapper.java | 73 public void end(Xid xid, int i) throws XAException{ argument 77 public void forget(Xid xid) throws XAException{ argument 90 public int prepare(Xid xid) throws XAException{ argument 98 public void start(Xid xid, int i) throws XAException{ argument 104 public abstract void commit(Xid xid, boolean flag) throws XAException; argument 106 public abstract void rollback(Xid xid) throws XAException; argument 112 public void commit(Xid xid, boolean flag) throws XAException{ 115 public void rollback(Xid xid) throws XAException{
|
H A D | JavaEETransactionManager.java | 296 * @param xid the Xid object representing a transaction. 298 public void recreate(Xid xid, long timeout) throws WorkException ; argument 305 * @param xid the Xid object representing a transaction. 307 public void release(Xid xid) throws WorkException ; argument
|
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/enterprise/transaction/jts/recovery/ |
H A D | SybaseXAResource.java | 88 public void commit(Xid xid, boolean flag) throws XAException{ argument 90 m_xacon.getXAResource().commit(xid, flag); 97 public void rollback(Xid xid) throws XAException{ argument 99 m_xacon.getXAResource().rollback(xid);
|
H A D | OracleXAResource.java | 80 * takes care of flags in addition to calling recoverList for xid list. 92 * Fires a select statement so that transaction xids are updated and retrieve the xid list. Oracle 93 * doesn't update the xid's for sometime. After this update, recover of real oracle xa resource is 94 * is used get xid list. 118 //Trace.info("Failed to recover xid list"); 142 public void commit(Xid xid, boolean flag) throws XAException{ argument 143 doRecovery(xid, true); 145 public void rollback(Xid xid) throws XAException{ argument 146 doRecovery(xid, false); 151 * @param xid 155 doRecovery(Xid xid, boolean isCommit) argument [all...] |
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/ |
H A D | XATerminatorProxy.java | 80 public void commit(Xid xid, boolean onePhase) throws XAException { argument 81 xat.commit(xid, onePhase); 87 public void forget(Xid xid) throws XAException { argument 88 xat.forget(xid); 94 public int prepare(Xid xid) throws XAException { argument 95 return xat.prepare(xid); 108 public void rollback(Xid xid) throws XAException { argument 109 xat.rollback(xid);
|
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/ |
H A D | GlobalTID.java | 137 * @param xid The Xid object containing transaction id. 139 public GlobalTID(javax.transaction.xa.Xid xid) { argument 141 int glen = xid.getGlobalTransactionId().length; 142 int blen = xid.getBranchQualifier().length; 145 System.arraycopy(xid.getGlobalTransactionId(), 0, xidRep, 0, glen); 146 System.arraycopy(xid.getBranchQualifier(), 0, xidRep, glen, blen); 148 realTID = new otid_t(xid.getFormatId(), blen, xidRep);
|
H A D | XATerminatorImpl.java | 66 private static void check(Xid xid) throws XAException { argument 67 // check if xid is valid 68 if (xid == null || xid.getFormatId() == 0 || 69 xid.getBranchQualifier() == null || 70 xid.getGlobalTransactionId() == null) { 76 * Commits the global transaction specified by xid. 78 * @param xid A global transaction identifier 81 * commit protocol to commit the work done on behalf of xid. 92 public void commit(Xid xid, boolea argument 197 forget(Xid xid) argument 217 prepare(Xid xid) argument 328 rollback(Xid xid) argument 392 recreate(Xid xid, int timeout) argument 398 release(Xid xid) argument [all...] |
H A D | DelegatedRecoveryManager.java | 527 * @param xid the xid to be stringified. 529 * @return stringified contents of the xid. 531 private static String stringifyXid(Xid xid) { argument 532 int glen = xid.getGlobalTransactionId().length; 533 int blen = xid.getBranchQualifier().length; 536 System.arraycopy(xid.getGlobalTransactionId(), 0, xidRep, 0, glen); 538 System.arraycopy(xid.getBranchQualifier(), 0, xidRep, glen + 1, blen); 612 // check to see if the xid belongs to this server. 620 // check if the xid i [all...] |
H A D | RecoveryManager.java | 789 * @param xid the xid to be stringified. 791 * @return stringified contents of the xid. 793 private static String stringifyXid(Xid xid) { argument 794 int glen = xid.getGlobalTransactionId().length; 795 int blen = xid.getBranchQualifier().length; 798 System.arraycopy(xid.getGlobalTransactionId(), 0, xidRep, 0, glen); 800 System.arraycopy(xid.getBranchQualifier(), 0, xidRep, glen + 1, blen); 1001 // check to see if the xid belongs to this server. 1009 // check if the xid i [all...] |
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/ |
H A D | XAResourceImpl.java | 70 * Commit the global transaction specified by xid. 72 * @param xid A global transaction identifier 74 * protocol to commit the work done on behalf of xid. 76 public void commit(Xid xid, boolean onePhase) throws XAException { argument 84 xar.commit(xid, onePhase); 97 * @param xid A global transaction identifier that is the same as what 101 public void end(Xid xid, int flags) throws XAException { argument 102 xar.end(xid, flags); 110 * @param xid A global transaction identifier 112 public void forget(Xid xid) throw argument 150 prepare(Xid xid) argument 187 rollback(Xid xid) argument 221 start(Xid xid, int flags) argument [all...] |
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/ |
H A D | XAResourceWrapper.java | 72 public void commit(Xid xid, boolean onePhase) throws XAException { argument 73 print("XAResource.commit: " + xidToString(xid) + "," + onePhase); 74 res.commit(xid, onePhase); 77 public void end(Xid xid, int flags) throws XAException { argument 78 print("XAResource.end: " + xidToString(xid) + "," + 80 res.end(xid, flags); 84 public void forget(Xid xid) throws XAException { argument 85 print("XAResource.forget: " + xidToString(xid)); 86 res.forget(xid); 109 public int prepare(Xid xid) throw argument 121 rollback(Xid xid) argument 130 start(Xid xid, int flags) argument 142 xidToString(Xid xid) argument [all...] |
H A D | ConnectorXAResource.java | 120 public void commit(Xid xid, boolean onePhase) throws XAException { argument 134 public void start(Xid xid, int flags) throws XAException { argument 154 public void end(Xid xid, int flags) throws XAException { argument 178 public void forget(Xid xid) throws XAException { argument 180 _logger.fine("Well, forget is called for xid :"+xid); 201 public int prepare(Xid xid) throws XAException { argument 209 public void rollback(Xid xid) throws XAException { argument
|
/glassfish-3.1.2/transaction/javax.transaction/src/main/java/javax/transaction/xa/ |
H A D | XAResource.java | 77 /** Commits the global transaction specified by xid. 79 * @param xid A global transaction identifier 82 * commit protocol to commit the work done on behalf of xid. 94 void commit(Xid xid, boolean onePhase) throws XAException; argument 113 * @param xid A global transaction identifier that is the same as 123 void end(Xid xid, int flags) throws XAException; argument 129 * @param xid A global transaction identifier. 136 void forget(Xid xid) throws XAException; argument 170 * of the transaction specified in xid. 172 * @param xid 185 prepare(Xid xid) argument 225 rollback(Xid xid) argument 273 start(Xid xid, int flags) argument [all...] |
/glassfish-3.1.2/transaction/jta/src/main/java/com/sun/enterprise/transaction/ |
H A D | TransactionManagerHelper.java | 119 public void recreate(Xid xid, long timeout) { argument 123 tm.recreate(xid, timeout); 130 public void release(Xid xid) { argument 135 tm.release(xid);
|
H A D | JavaEETransactionManagerSimplifiedDelegate.java | 219 public void release(Xid xid) throws WorkException { argument 223 public void recreate(Xid xid, long timeout) throws WorkException { argument
|
H A D | JavaEETransactionImpl.java | 91 private JavaEEXid xid; field in class:JavaEETransactionImpl 141 this.xid = new JavaEEXid(txId); 230 return xid; 417 nonXAResource.getXAResource().rollback(xid); 425 nonXAResource.getXAResource().rollback(xid); 471 nonXAResource.getXAResource().rollback(xid); 501 nonXAResource.getXAResource().commit(xid, true); 571 nonXAResource.getXAResource().rollback(xid); 718 return xid.toString();
|
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/jtsxa/ |
H A D | XID.java | 298 * some of the drivers XAResource methods have the "trace("some thing " + xid)" 421 * Return whether the Gtrid of this is equal to the Gtrid of xid 423 public boolean isEqualGtrid(XID xid) { argument 424 if (this.gtrid_length != xid.gtrid_length) { 429 if (this.data[i] != xid.data[i]) {
|
H A D | OTSResourceImpl.java | 69 private Xid xid = null; field in class:OTSResourceImpl 80 * @param xid the global transaction identifier 84 public OTSResourceImpl(Xid xid, XAResource xaRes, argument 87 this.xid= xid; // Stash away the Transaction identifier 114 xaRes.commit(xid, false); 174 xaRes.commit(xid, true); 241 xaRes.forget(xid); 273 rc = xaRes.prepare(xid); // xa_prepare() 330 xaRes.rollback(xid); [all...] |
/glassfish-3.1.2/transaction/internal-api/src/main/java/com/sun/enterprise/transaction/spi/ |
H A D | JavaEETransactionManagerDelegate.java | 223 * @param xid the Xid object representing a transaction. 227 public void release(Xid xid) throws WorkException; argument 234 * @param xid the Xid object representing a transaction. 239 public void recreate(Xid xid, long timeout) throws WorkException; argument
|
/glassfish-3.1.2/transaction/jta/src/test/java/com/sun/enterprise/transaction/ |
H A D | AppTest.java | 854 public void commit(Xid xid, boolean onePhase) throws XAException{} argument 856 public void rollback(Xid xid) throws XAException {} argument 857 public int prepare(Xid xid) throws XAException { return XAResource.XA_OK; } argument 860 public void forget(Xid xid) throws XAException { } argument 861 public void start(Xid xid, int flags) throws XAException { } argument 862 public void end(Xid xid, int flags) throws XAException { } argument
|
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/jta/ |
H A D | TransactionManagerImpl.java | 584 * @param xid the Xid object representing a transaction. 587 public static void recreate(Xid xid, long timeout) throws WorkException { argument 589 // check if xid is valid 590 if (xid == null || xid.getFormatId() == 0 || 591 xid.getBranchQualifier() == null || 592 xid.getGlobalTransactionId() == null) { 607 GlobalTID tid = new GlobalTID(xid); 628 * @param xid the Xid object representing a transaction. 630 public static void release(Xid xid) throw argument [all...] |
/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/enterprise/transaction/jts/ |
H A D | JavaEETransactionManagerJTSDelegate.java | 423 public void release(Xid xid) throws WorkException { argument 425 TransactionManagerImpl.release(xid); 428 public void recreate(Xid xid, long timeout) throws WorkException { argument 430 TransactionManagerImpl.recreate(xid, timeout);
|