|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vaadin.terminal.gwt.server.GAEApplicationServlet
com.vaadin.grails.terminal.gwt.server.GrailsAwareGAEApplicationServlet
@SuppressWarnings("serial") public class GrailsAwareGAEApplicationServlet extends GAEApplicationServlet
Field Summary | |
---|---|
private String |
applicationClassName
Name of the class that extends com.vaadin.Application. |
private static org.slf4j.Logger |
log
|
Constructor Summary | |
GrailsAwareGAEApplicationServlet()
|
Method Summary | |
---|---|
private ClassLoader
|
doGetClassLoader()
|
protected Class
|
getApplicationClass()
|
protected ClassLoader
|
getClassLoader()
Returns the Grails ClassLoader, because the servlet's ClassLoader can't see the Grails application source. |
org.codehaus.groovy.grails.commons.GrailsApplication
|
getGrailsApplication()
|
protected Application
|
getNewApplication(HttpServletRequest request)
|
void
|
init(ServletConfig servletConfig)
Called by the servlet container to indicate to a servlet that the servlet is being placed into service. |
protected void
|
service(HttpServletRequest httpReq, HttpServletResponse response)
|
protected void
|
writeAjaxPageHtmlVaadinScripts(Window window, String themeName, Application application, java.io.BufferedWriter out, String appUrl, String themeUri, String appId, HttpServletRequest request)
Adds the JavaScript libraries configured in VaadinConfig to the head of the HTML page. |
Field Detail |
---|
private String applicationClassName
private static final org.slf4j.Logger log
Constructor Detail |
---|
GrailsAwareGAEApplicationServlet()
Method Detail |
---|
private ClassLoader doGetClassLoader()
@Override @SuppressWarnings({ "unchecked" }) protected Class getApplicationClass()
@Override protected ClassLoader getClassLoader()
public org.codehaus.groovy.grails.commons.GrailsApplication getGrailsApplication()
@Override protected Application getNewApplication(HttpServletRequest request)
@SuppressWarnings("unchecked") @Override public void init(ServletConfig servletConfig)
servletConfig
- the object containing the servlet's configuration and
initialization parameters
@Override protected void service(HttpServletRequest httpReq, HttpServletResponse response)
@Override protected void writeAjaxPageHtmlVaadinScripts(Window window, String themeName, Application application, java.io.BufferedWriter out, String appUrl, String themeUri, String appId, HttpServletRequest request)
Groovy Documentation