Package com.arjuna.ats.tools.objectstorebrowser.stateviewers.viewers.atomicaction

Examples of com.arjuna.ats.tools.objectstorebrowser.stateviewers.viewers.atomicaction.LiveAtomicActionWrapper


        Object ios = os.read_committed(theUid, type);

        if (ios instanceof TxInputObjectState)
            delegate = (Transaction)((TxInputObjectState)ios).getRealObject();

        LiveAtomicActionWrapper aaw = new LiveAtomicActionWrapper(delegate, theUid, getObjectName(os), type);
        manipulator.clearEntries();

        ListNode node;
        SubTreeViewEntry entry;

        node = new TxInfoNode("Tx Info", aaw, type);
        entry = new TxInfoViewEntry(type, "Info", node);
        addNode(manipulator, node, entry, "Basic Information");

        node = new SynchronizationListNode("Synchronisations", aaw, type);
        entry = new SynchronizationViewEntry(type + "Synchronisation", "Synchronisations", node);
        addNode(manipulator, node, entry, aaw.getSynchronizationInfo().size() + " synchronizations");

        node = new XAResourceListNode("XA Resources", aaw, type);
        entry = new XAResourceViewEntry(type + "XAResource", "XA Resources", node);
        addNode(manipulator, node, entry, aaw.getResources().size() + " resources");

    }
View Full Code Here

TOP

Related Classes of com.arjuna.ats.tools.objectstorebrowser.stateviewers.viewers.atomicaction.LiveAtomicActionWrapper

Copyright © 2018 www.massapicom. 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.