Groovy Documentation

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

 
Constructor Summary
VaadinTransactionManager()

 
Method Summary
def wrapInTransaction(Closure wrapped)

Excutes the closure in a grails transaction, and returns the result.

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

persistenceInterceptor

org.codehaus.groovy.grails.support.PersistenceContextInterceptor persistenceInterceptor
Injected - the grails persistence interceptor for creating the transaction


 
Constructor Detail

VaadinTransactionManager

VaadinTransactionManager()


 
Method Detail

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