Package org.apache.geronimo.transaction.context

Examples of org.apache.geronimo.transaction.context.UnspecifiedTransactionContext


    }

    private void recoverResourceManager(ResourceManager resourceManager) {
        TransactionContext oldTransactionContext = TransactionContext.getContext();
        try {
            TransactionContext.setContext(new UnspecifiedTransactionContext());
            NamedXAResource namedXAResource = null;
            try {
                namedXAResource = resourceManager.getRecoveryXAResources();
            } catch (SystemException e) {
                recoveryLog.error(e);
View Full Code Here


            }
            BeanTransactionContext beanContext = (BeanTransactionContext) ctx;
            try {
                beanContext.commit();
            } finally {
                UnspecifiedTransactionContext oldContext = beanContext.getOldContext();
                transactionContextManager.setContext(oldContext);
                oldContext.resume();
            }
        }
View Full Code Here

            }
            BeanTransactionContext beanContext = (BeanTransactionContext) ctx;
            try {
                beanContext.rollback();
            } finally {
                UnspecifiedTransactionContext oldContext = beanContext.getOldContext();
                transactionContextManager.setContext(oldContext);
                oldContext.resume();
            }
        }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.transaction.context.UnspecifiedTransactionContext

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.