Package com.arjuna.ats.jta.transaction

Examples of com.arjuna.ats.jta.transaction.Transaction


    @Resource(lookup="java:jboss/TransactionManager")
    private TransactionManager transactionManager;

    protected int getTimeout() {
        try {
            Transaction tx = (Transaction) transactionManager.getTransaction();
            return tx.getTimeout();
        } catch (Exception e)
        {
            return -1;
        }
    }
View Full Code Here


    {
        if (!InFlightTransactionPseudoStore.STORE_NAME.equals(os.getStoreName()))
            return; // called with the wrong store name
       
        Uid theUid = uidNode.getUid();
        Transaction delegate = null;
        Object ios = os.read_committed(theUid, type);

        if (ios instanceof TxInputObjectState)
            delegate = (Transaction)((TxInputObjectState)ios).getRealObject();
View Full Code Here

TOP

Related Classes of com.arjuna.ats.jta.transaction.Transaction

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.