@groovy.transform.CompileStatic class DefaultTransactionService extends java.lang.Object implements Service, TransactionService
The transaction service implementation
Constructor and description |
---|
DefaultTransactionService
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected CustomizableRollbackTransactionAttribute |
newDefinition(java.util.Map definition) |
<T> |
T |
withNewTransaction(groovy.lang.Closure<T> callable) |
<T> |
T |
withNewTransaction(org.springframework.transaction.TransactionDefinition definition, groovy.lang.Closure<T> callable) |
<T> |
T |
withRollback(groovy.lang.Closure<T> callable) |
<T> |
T |
withRollback(org.springframework.transaction.TransactionDefinition definition, groovy.lang.Closure<T> callable) |
<T> |
T |
withTransaction(groovy.lang.Closure<T> callable) |
<T> |
T |
withTransaction(org.springframework.transaction.TransactionDefinition definition, groovy.lang.Closure<T> callable) |
<T> |
T |
withTransaction(java.util.Map definition, groovy.lang.Closure<T> callable) |
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() |