org.grails.plugin.vaadin
[Groovy] Class VaadinTransactionManager
java.lang.Object
org.grails.plugin.vaadin.VaadinTransactionManager
class VaadinTransactionManager
Allows you to wrap a Closure in a grails transaction.
- Authors:
- Francis McKenzie
Property Summary |
org.codehaus.groovy.grails.support.PersistenceContextInterceptor |
persistenceInterceptor
Injected - the grails persistence interceptor for creating the
transaction
|
persistenceInterceptor
org.codehaus.groovy.grails.support.PersistenceContextInterceptor persistenceInterceptor
- Injected - the grails persistence interceptor for creating the
transaction
VaadinTransactionManager
VaadinTransactionManager()
-
wrapInTransaction
def wrapInTransaction(Closure wrapped)
- Excutes the closure in a grails transaction, and returns the result.
- Parameters:
wrapped
- the Closure to execute
- Returns:
- The result of executing the closure
Groovy Documentation