/** * Resume transaction association on the current thread. If the specified * transaction is null, then this is the same as doing a suspend. If the * current thread is associated with transactions then those associations * will be lost. * * @param act the transaction to associate. If this is a nested * transaction, then the thread will be associated with all of * the transactions in the hierarchy. * * @return <code>true</code> if association is successful, * <code>false</code> otherwise. */ public static final boolean resume (AtomicAction act) { if (act == null) { suspend(); // If you ever change this, you need to change the way resume is handled in /ArjunaJTS/integration/src/main/java/com/arjuna/ats/jbossatx/BaseTransactionManagerDelegate.java } else ThreadActionData.restoreActions(act); return true; }
/** * Resume transaction association on the current thread. If the specified * transaction is null, then this is the same as doing a suspend. If the * current thread is associated with transactions then those associations * will be lost. * * @param act the transaction to associate. If this is a nested * transaction, then the thread will be associated with all of * the transactions in the hierarchy. * * @return <code>true</code> if association is successful, * <code>false</code> otherwise. */ public static final boolean resume (AtomicAction act) { if (act == null) { suspend(); // If you ever change this, you need to change the way resume is handled in /ArjunaJTS/integration/src/main/java/com/arjuna/ats/jbossatx/BaseTransactionManagerDelegate.java } else ThreadActionData.restoreActions(act); return true; }
/** * Resume transaction association on the current thread. If the specified * transaction is null, then this is the same as doing a suspend. If the * current thread is associated with transactions then those associations * will be lost. * * @param act the transaction to associate. If this is a nested * transaction, then the thread will be associated with all of * the transactions in the hierarchy. * * @return <code>true</code> if association is successful, * <code>false</code> otherwise. */ public static final boolean resume (AtomicAction act) { if (act == null) { suspend(); // If you ever change this, you need to change the way resume is handled in /ArjunaJTS/integration/src/main/java/com/arjuna/ats/jbossatx/BaseTransactionManagerDelegate.java } else ThreadActionData.restoreActions(act); return true; }
/** * Resume transaction association on the current thread. If the specified * transaction is null, then this is the same as doing a suspend. If the * current thread is associated with transactions then those associations * will be lost. * * @param act the transaction to associate. If this is a nested * transaction, then the thread will be associated with all of * the transactions in the hierarchy. * * @return <code>true</code> if association is successful, * <code>false</code> otherwise. */ public static final boolean resume (AtomicAction act) { if (act == null) { suspend(); } else ThreadActionData.restoreActions(act); return true; }
/** * Resume transaction association on the current thread. If the specified * transaction is null, then this is the same as doing a suspend. If the * current thread is associated with transactions then those associations * will be lost. * * @param act the transaction to associate. If this is a nested * transaction, then the thread will be associated with all of * the transactions in the hierarchy. * * @return <code>true</code> if association is successful, * <code>false</code> otherwise. */ public static final boolean resume (AtomicAction act) { if (act == null) { suspend(); } else ThreadActionData.restoreActions(act); return true; }
/** * Resume transaction association on the current thread. If the specified * transaction is null, then this is the same as doing a suspend. If the * current thread is associated with transactions then those associations * will be lost. * * @param act the transaction to associate. If this is a nested * transaction, then the thread will be associated with all of * the transactions in the hierarchy. * * @return <code>true</code> if association is successful, * <code>false</code> otherwise. */ public static final boolean resume (AtomicAction act) { if (act == null) { suspend(); // If you ever change this, you need to change the way resume is handled in /ArjunaJTS/integration/src/main/java/com/arjuna/ats/jbossatx/BaseTransactionManagerDelegate.java } else ThreadActionData.restoreActions(act); return true; }
/** * Resume transaction association on the current thread. If the specified * transaction is null, then this is the same as doing a suspend. If the * current thread is associated with transactions then those associations * will be lost. * * @param act the transaction to associate. If this is a nested * transaction, then the thread will be associated with all of * the transactions in the hierarchy. * * @return <code>true</code> if association is successful, * <code>false</code> otherwise. */ public static final boolean resume (AtomicAction act) { if (act == null) { suspend(); } else ThreadActionData.restoreActions(act); return true; }
/** * Resume transaction association on the current thread. If the specified * transaction is null, then this is the same as doing a suspend. If the * current thread is associated with transactions then those associations * will be lost. * * @param act the transaction to associate. If this is a nested * transaction, then the thread will be associated with all of * the transactions in the hierarchy. * * @return <code>true</code> if association is successful, * <code>false</code> otherwise. */ public static final boolean resume (AtomicAction act) { if (act == null) { suspend(); } else ThreadActionData.restoreActions(act); return true; }
/** * Resume transaction association on the current thread. If the specified * transaction is null, then this is the same as doing a suspend. If the * current thread is associated with transactions then those associations * will be lost. * * @param act the transaction to associate. If this is a nested * transaction, then the thread will be associated with all of * the transactions in the hierarchy. * * @return <code>true</code> if association is successful, * <code>false</code> otherwise. */ public static final boolean resume (AtomicAction act) { if (act == null) { suspend(); } else ThreadActionData.restoreActions(act); return true; }
/** * Resume transaction association on the current thread. If the specified * transaction is null, then this is the same as doing a suspend. If the * current thread is associated with transactions then those associations * will be lost. * * @param act the transaction to associate. If this is a nested * transaction, then the thread will be associated with all of * the transactions in the hierarchy. * * @return <code>true</code> if association is successful, * <code>false</code> otherwise. */ public static final boolean resume (AtomicAction act) { if (act == null) { suspend(); // If you ever change this, you need to change the way resume is handled in /ArjunaJTS/integration/src/main/java/com/arjuna/ats/jbossatx/BaseTransactionManagerDelegate.java } else ThreadActionData.restoreActions(act); return true; }
/** * Resume transaction association on the current thread. If the specified * transaction is null, then this is the same as doing a suspend. If the * current thread is associated with transactions then those associations * will be lost. * * @param act the transaction to associate. If this is a nested * transaction, then the thread will be associated with all of * the transactions in the hierarchy. * * @return <code>true</code> if association is successful, * <code>false</code> otherwise. */ public static final boolean resume (AtomicAction act) { if (act == null) { suspend(); // If you ever change this, you need to change the way resume is handled in /ArjunaJTS/integration/src/main/java/com/arjuna/ats/jbossatx/BaseTransactionManagerDelegate.java } else ThreadActionData.restoreActions(act); return true; }