public String toString() { TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) return "Transaction: unknown"; else return "Transaction: " + theTransaction; }
public Transaction getTransaction() throws javax.transaction.SystemException { return TransactionImple.getTransaction(); }
public String toString() { TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) return "Transaction: unknown"; else return "Transaction: " + theTransaction; }
public Transaction getTransaction() throws javax.transaction.SystemException { return TransactionImple.getTransaction(); }
public String toString() { TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) return "Transaction: unknown"; else return "Transaction: " + theTransaction; }
public Transaction getTransaction() throws javax.transaction.SystemException { return TransactionImple.getTransaction(); }
public Transaction getTransaction() throws javax.transaction.SystemException { return TransactionImple.getTransaction(); }
public String toString() { TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) return "Transaction: unknown"; else return "Transaction: " + theTransaction; }
/** * Removes any references maintained for the passed <code>{@link UserTransactionID}</code> * @param userTransactionID User transaction id * @return Returns the {@link Transaction} corresponding to the passed <code>userTransactionID</code>. If there * is no such transaction, then this method returns null */ public Transaction removeUserTransaction(final UserTransactionID userTransactionID) { final Uid uid = this.userTransactions.remove(userTransactionID); if (uid == null) { return null; } return TransactionImple.getTransaction(uid); }
/** * @param userTransactionID User transaction id * @return Returns the {@link Transaction} corresponding to the passed <code>userTransactionID</code>. If there * is no such transaction, then this method returns null */ public Transaction getUserTransaction(final UserTransactionID userTransactionID) { final Uid uid = this.userTransactions.get(userTransactionID); if (uid == null) { return null; } return TransactionImple.getTransaction(uid); }
public int getStatus() throws javax.transaction.SystemException { TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) return javax.transaction.Status.STATUS_NO_TRANSACTION; else return theTransaction.getStatus(); }
public int getStatus() throws javax.transaction.SystemException { TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) return javax.transaction.Status.STATUS_NO_TRANSACTION; else return theTransaction.getStatus(); }
public int getStatus() throws javax.transaction.SystemException { TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) return javax.transaction.Status.STATUS_NO_TRANSACTION; else return theTransaction.getStatus(); }
public void setRollbackOnly() throws java.lang.IllegalStateException, javax.transaction.SystemException { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("BaseTransaction.setRollbackOnly"); } TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) throw new IllegalStateException( jtaLogger.i18NLogger.get_transaction_arjunacore_nosuchtx()); theTransaction.setRollbackOnly(); }
public void setRollbackOnly() throws java.lang.IllegalStateException, javax.transaction.SystemException { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("BaseTransaction.setRollbackOnly"); } TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) throw new IllegalStateException( jtaLogger.i18NLogger.get_transaction_arjunacore_nosuchtx()); theTransaction.setRollbackOnly(); }
public void setRollbackOnly() throws java.lang.IllegalStateException, javax.transaction.SystemException { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("BaseTransaction.setRollbackOnly"); } TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) throw new IllegalStateException( jtaLogger.i18NLogger.get_transaction_arjunacore_nosuchtx()); theTransaction.setRollbackOnly(); }
public void setRollbackOnly() throws java.lang.IllegalStateException, javax.transaction.SystemException { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("BaseTransaction.setRollbackOnly"); } TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) throw new IllegalStateException( jtaLogger.i18NLogger.get_transaction_arjunacore_nosuchtx()); theTransaction.setRollbackOnly(); }
public void rollback() throws java.lang.IllegalStateException, java.lang.SecurityException, javax.transaction.SystemException { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("BaseTransaction.rollback"); } TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) throw new IllegalStateException( "BaseTransaction.rollback - " + jtaLogger.i18NLogger.get_transaction_arjunacore_notx()); theTransaction.rollbackAndDisassociate(); }
public void setRollbackOnly() throws java.lang.IllegalStateException, javax.transaction.SystemException { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("BaseTransaction.setRollbackOnly"); } TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) throw new IllegalStateException( jtaLogger.i18NLogger.get_transaction_arjunacore_nosuchtx()); theTransaction.setRollbackOnly(); }
public void setRollbackOnly() throws java.lang.IllegalStateException, javax.transaction.SystemException { if (jtaLogger.logger.isTraceEnabled()) { jtaLogger.logger.trace("BaseTransaction.setRollbackOnly"); } TransactionImple theTransaction = TransactionImple.getTransaction(); if (theTransaction == null) throw new IllegalStateException( jtaLogger.i18NLogger.get_transaction_arjunacore_nosuchtx()); theTransaction.setRollbackOnly(); }