Package org.jboss.jca.core.spi.transaction.local

Examples of org.jboss.jca.core.spi.transaction.local.TransactionLocal.lock()


               ManagedConnectionPool mcp = (ManagedConnectionPool)cl.getContext();
               SubPoolContext subPool = mcp.getSubPool();
               TransactionLocal trackByTx = subPool.getTrackByTx();
               try
               {
                  trackByTx.lock();
               }
               catch (Throwable t)
               {
                  rethrowAsSystemException("Unable to begin transaction with JCA lazy enlistment scenario",
                                           trackByTx.getTransaction(), t);
View Full Code Here


               ManagedConnectionPool mcp = (ManagedConnectionPool)cl.getContext();
               SubPoolContext subPool = mcp.getSubPool();
               TransactionLocal trackByTx = subPool.getTrackByTx();
               try
               {
                  trackByTx.lock();
               }
               catch (Throwable t)
               {
                  rethrowAsSystemException("Unable to begin transaction with JCA lazy enlistment scenario",
                                           trackByTx.getTransaction(), t);
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.