Groovy Documentation

org.grails.plugin.vaadin
[Groovy] Class VaadinApplicationContextHolder

java.lang.Object
  org.grails.plugin.vaadin.VaadinApplicationContextHolder

class VaadinApplicationContextHolder

Holds active VaadinApplication in current thread.

Authors:
Francis McKenzie


Field Summary
protected static ThreadLocal activeApplicationHolder

Holds the active application in the current thread

 
Constructor Summary
VaadinApplicationContextHolder()

 
Method Summary
static Application getVaadinApplication()

Gets the active application

static void setVaadinApplication(Application application)

Sets the active application

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

Field Detail

activeApplicationHolder

protected static ThreadLocal activeApplicationHolder
Holds the active application in the current thread


 
Constructor Detail

VaadinApplicationContextHolder

VaadinApplicationContextHolder()


 
Method Detail

getVaadinApplication

static Application getVaadinApplication()
Gets the active application


setVaadinApplication

static void setVaadinApplication(Application application)
Sets the active application


 

Groovy Documentation