|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectcom.vaadin.Application
org.grails.plugin.vaadin.VaadinApplication
abstract class VaadinApplication extends Application
A Vaadin Application that supports configuring SystemMessages
in grails-app/conf/VaadinConfig.groovy
and provides
easy access to the application in the current thread using
VaadinApplicationContextHolder
Note that this functionality is optional - a user can disable this by simply overriding the Application class directly.
Property Summary | |
---|---|
static def |
log
|
static Application |
systemMessages
System messages configured from Vaadin config |
Constructor Summary | |
VaadinApplication()
|
Method Summary | |
---|---|
static Application.CustomizedSystemMessages
|
getSystemMessages()
Lazy-creation of system messages configured from Vaadin config |
void
|
onRequestEnd(HttpServletRequest request, HttpServletResponse response)
Clears the application in the current thread using VaadinApplicationContextHolder |
void
|
onRequestStart(HttpServletRequest request, HttpServletResponse response)
Stores the application in the current thread using VaadinApplicationContextHolder |
Methods inherited from class Application | |
---|---|
getProperty, getURL, init, getContext, start, close, getVersion, setLocale, getLocale, isRunning, getWindows, setUser, setErrorHandler, getErrorHandler, addListener, addListener, addListener, getPropertyNames, removeListener, removeListener, removeListener, getWindow, addWindow, removeWindow, getUser, getTheme, setTheme, getMainWindow, setMainWindow, addResource, removeResource, getRelativeLocation, handleURI, getLogoutURL, setLogoutURL, getSystemMessages, terminalError, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
static def log
static Application systemMessages
Constructor Detail |
---|
VaadinApplication()
Method Detail |
---|
static Application.CustomizedSystemMessages getSystemMessages()
void onRequestEnd(HttpServletRequest request, HttpServletResponse response)
void onRequestStart(HttpServletRequest request, HttpServletResponse response)
Groovy Documentation