@groovy.transform.CompileStatic class TransactionalPromiseDecorator
A PromiseDecorator that wraps a Promise in a transaction
Type | Name and description |
---|---|
org.springframework.transaction.support.DefaultTransactionDefinition |
transactionDefinition |
org.springframework.transaction.PlatformTransactionManager |
transactionManager |
Constructor and description |
---|
TransactionalPromiseDecorator
(org.springframework.transaction.PlatformTransactionManager transactionManager) |
TransactionalPromiseDecorator
(org.springframework.transaction.PlatformTransactionManager transactionManager, org.springframework.transaction.support.DefaultTransactionDefinition transactionDefinition) |
TransactionalPromiseDecorator
(org.springframework.transaction.PlatformTransactionManager transactionManager, org.springframework.transaction.annotation.Transactional transactionDefinition) |
Type Params | Return Type | Name and description |
---|---|---|
<D> |
groovy.lang.Closure<D> |
decorate(groovy.lang.Closure<D> original) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
Groovy Documentation