@groovy.transform.CompileStatic class TransactionFacadeImpl extends java.lang.Object implements TransactionFacade
| Modifiers | Name | Description | 
|---|---|---|
| protected ExecutionContextFactoryImpl | ecfi | |
| protected static boolean | isTraceEnabled | |
| protected static org.slf4j.Logger | logger | |
| protected ConcurrentHashMap<java.lang.String, java.util.ArrayList<EntityRecordLock>> | recordLockByEntityPk | |
| protected static boolean | requireNewThread | |
| protected javax.transaction.TransactionManager | tm | |
| protected TransactionInternal | transactionInternal | |
| protected boolean | useConnectionStash | |
| protected boolean | useLockTrack | |
| protected boolean | useStatementTimeout | |
| protected boolean | useTransactionCache | |
| protected javax.transaction.UserTransaction | ut | 
| Constructor and description | 
|---|
| TransactionFacadeImpl
                                (ExecutionContextFactoryImpl ecfi) | 
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | boolean | begin(java.lang.Integer timeout) | 
|  | void | commit(boolean beganTransaction) | 
|  | void | commit() | 
|  | void | destroy() | 
|  | void | destroyAllInThread()This is called to make sure all transactions, etc are closed for the thread. | 
|  | java.sql.Connection | enlistConnection(javax.sql.XAConnection con) | 
|  | void | enlistResource(javax.transaction.xa.XAResource resource) | 
|  | void | flushAndDisableTransactionCache() | 
|  | javax.transaction.Synchronization | getActiveSynchronization(java.lang.String syncName) | 
|  | javax.transaction.xa.XAResource | getActiveXaResource(java.lang.String resourceName) | 
|  | java.lang.Long | getCurrentTransactionStartTime() | 
|  | int | getStatus() | 
|  | java.lang.String | getStatusString() | 
|  | TransactionCache | getTransactionCache() | 
|  | TransactionInternal | getTransactionInternal() | 
|  | javax.transaction.TransactionManager | getTransactionManager() | 
|  | int | getTransactionTimeout() | 
|  | java.sql.Connection | getTxConnection(java.lang.String groupName) | 
|  | protected TxStackInfo | getTxStackInfo() | 
|  | protected java.util.LinkedList<TxStackInfo> | getTxStackInfoList() | 
|  | long | getTxTimeoutRemainingMillis() | 
|  | boolean | getUseLockTrack() | 
|  | boolean | getUseStatementTimeout() | 
|  | javax.transaction.UserTransaction | getUserTransaction() | 
|  | void | initTransactionCache(boolean readOnly) | 
|  | boolean | isTransactionActive() | 
|  | boolean | isTransactionCacheActive() | 
|  | boolean | isTransactionInPlace() | 
|  | boolean | isTransactionOperable() | 
|  | protected void | popTxStackInfo() | 
|  | void | populateTransactionObjectsJndi() | 
|  | protected void | pushTxStackInfo(Transaction tx, java.lang.Exception txLocation) | 
|  | void | putAndEnlistActiveSynchronization(java.lang.String syncName, javax.transaction.Synchronization sync) | 
|  | void | putAndEnlistActiveXaResource(java.lang.String resourceName, javax.transaction.xa.XAResource xar) | 
|  | void | registerRecordLock(EntityRecordLock erl) | 
|  | void | registerSynchronization(javax.transaction.Synchronization sync) | 
|  | void | resume() | 
|  | void | rollback(boolean beganTransaction, java.lang.String causeMessage, java.lang.Throwable causeThrowable) | 
|  | void | rollback(java.lang.String causeMessage, java.lang.Throwable causeThrowable) | 
|  | java.lang.Object | runRequireNew(java.lang.Integer timeout, java.lang.String rollbackMessage, groovy.lang.Closure closure) | 
|  | java.lang.Object | runRequireNew(java.lang.Integer timeout, java.lang.String rollbackMessage, boolean beginTx, boolean threadReuseEci, groovy.lang.Closure closure) | 
|  | java.lang.Object | runUseOrBegin(java.lang.Integer timeout, java.lang.String rollbackMessage, groovy.lang.Closure closure) | 
|  | void | setRollbackOnly(java.lang.String causeMessage, java.lang.Throwable causeThrowable) | 
|  | java.sql.Connection | stashTxConnection(java.lang.String groupName, java.sql.Connection con) | 
|  | boolean | suspend() | 
| Methods inherited from class | Name | 
|---|---|
| class java.lang.Object | java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() | 
This is called to make sure all transactions, etc are closed for the thread. It commits any active transactions, clears out internal data for the thread, etc.