@NotNull public Object getKey(@NotNull final Transaction transaction) throws IllegalArgumentException { return ((TransactionImple) transaction).get_uid(); }
public boolean isAlive() { try { if(_theTransaction != null) { return _transactions.containsKey(this.get_uid()); } else { return false; } } catch(NullPointerException e) { return false; // there is no tx/action, therefore it's not alive. } }
public boolean isAlive() { try { if(_theTransaction != null) { return _transactions.containsKey(this.get_uid()); } else { return false; } } catch(NullPointerException e) { return false; // there is no tx/action, therefore it's not alive. } }
static final protected void putTransaction(TransactionImple tx) { _transactions.put(tx.get_uid(), tx); }
static final protected void putTransaction(TransactionImple tx) { _transactions.put(tx.get_uid(), tx); }
public boolean isAlive() { try { if(_theTransaction != null) { return _transactions.containsKey(this.get_uid()); } else { return false; } } catch(NullPointerException e) { return false; // there is no tx/action, therefore it's not alive. } }
public boolean isAlive() { try { if(_theTransaction != null) { return _transactions.containsKey(this.get_uid()); } else { return false; } } catch(NullPointerException e) { return false; // there is no tx/action, therefore it's not alive. } }
public boolean isAlive() { try { if(_theTransaction != null) { return _transactions.containsKey(this.get_uid()); } else { return false; } } catch(NullPointerException e) { return false; // there is no tx/action, therefore it's not alive. } }
public boolean isAlive() { try { if(_theTransaction != null) { return _transactions.containsKey(this.get_uid()); } else { return false; } } catch(NullPointerException e) { return false; // there is no tx/action, therefore it's not alive. } }
static final protected void putTransaction(TransactionImple tx) { _transactions.put(tx.get_uid(), tx); }
public static final void removeTransaction(TransactionImple tx) { _transactions.remove(tx.get_uid()); }
public static final void removeTransaction(TransactionImple tx) { _transactions.remove(tx.get_uid()); }
static final protected void removeTransaction(TransactionImple tx) { _transactions.remove(tx.get_uid()); }
/** * @see org.teiid.dqp.internal.transaction.TransactionProvider#getTransactionID(javax.transaction.Transaction) */ public String getTransactionID(Transaction tx) { TransactionImple arjunaTx = (TransactionImple)tx; return arjunaTx.get_uid().stringForm(); }
public Object getCurrentTransactionId() { com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple transaction = TransactionImple.getTransaction(); if (transaction == null) return null; return transaction.get_uid(); }
public Object getCurrentTransactionId() { com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple transaction = TransactionImple.getTransaction(); if (transaction == null) return null; return transaction.get_uid(); }
public Object getCurrentTransactionId() { com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple transaction = TransactionImple.getTransaction(); if (transaction == null) return null; return transaction.get_uid(); }
public Object getCurrentTransactionId() { com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple transaction = TransactionImple.getTransaction(); if (transaction == null) return null; return transaction.get_uid(); }
@NotNull public Object getKey(@NotNull final Transaction transaction) throws IllegalArgumentException { return ((TransactionImple) transaction).get_uid(); }
@NotNull public Object getKey(@NotNull final Transaction transaction) throws IllegalArgumentException { return ((TransactionImple) transaction).get_uid(); }