Package org.apache.geronimo.transaction.context

Examples of org.apache.geronimo.transaction.context.BeanTransactionContext.commit()


        if (ctx instanceof BeanTransactionContext == false) {
            throw new IllegalStateException("Transaction has not been started");
        }
        BeanTransactionContext beanContext = (BeanTransactionContext) ctx;
        try {
            beanContext.commit();
        } finally {
            UnspecifiedTransactionContext oldContext = beanContext.getOldContext();
            transactionContextManager.setContext(oldContext);
            oldContext.resume();
        }
View Full Code Here


            if (ctx instanceof BeanTransactionContext == false) {
                throw new IllegalStateException("Transaction has not been started");
            }
            BeanTransactionContext beanContext = (BeanTransactionContext) ctx;
            try {
                beanContext.commit();
            } finally {
                UnspecifiedTransactionContext oldContext = beanContext.getOldContext();
                transactionContextManager.setContext(oldContext);
                oldContext.resume();
            }
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.