Examples of CheckedAction


Examples of com.arjuna.ats.arjuna.coordinator.CheckedAction

    private static Log LOG = LogFactory.getLog(TransactionInterruptInterceptor.class);

    @AroundInvoke
    public Object addCheckedActionToTransactionManager(InvocationContext invocation_context) throws Exception {
        BasicAction currentTx = null;
        CheckedAction previousCheckedAction = null;

        try {
            currentTx = BasicAction.Current();

            // Don't bother doing anything if the thread is currently not in a transaction.
View Full Code Here

Examples of com.arjuna.ats.arjuna.coordinator.CheckedAction

            Method setMethod = clazz.getDeclaredMethod("setCheckedAction", CheckedAction.class);

            checkedActionField.setAccessible(true);
            setMethod.setAccessible(true);

            CheckedAction oldCheckedAction = (CheckedAction) checkedActionField.get(currentTx);
            setMethod.invoke(currentTx, newCheckedAction);

            return oldCheckedAction;
        } catch (Exception e) {
            LOG.warn("failed to set a new CheckedAction on the current tx: " + e);
View Full Code Here

Examples of com.arjuna.ats.arjuna.coordinator.CheckedAction

public class CheckedActionFactoryImple implements CheckedActionFactory
{
    public CheckedAction getCheckedAction (final Uid txId, final String actionType)
    {
        return new CheckedAction();
    }
View Full Code Here

Examples of com.arjuna.ats.arjuna.coordinator.CheckedAction

      transactionCreator = Thread.currentThread();
    }
    else
      transactionCreator = null;

    CheckedAction ca = CheckedActions.get();

    if (ca != null)
    {
      super.setCheckedAction(ca);
      ca = null;
View Full Code Here

Examples of com.arjuna.ats.arjuna.coordinator.CheckedAction

      transactionCreator = Thread.currentThread();
    }
    else
      transactionCreator = null;

    CheckedAction ca = CheckedActions.get();

    if (ca != null)
    {
      super.setCheckedAction(ca);
      ca = null;
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.