com.vaadin.spring.server
Class SpringVaadinServletService

java.lang.Object
  extended by com.vaadin.server.VaadinService
      extended by com.vaadin.server.VaadinServletService
          extended by com.vaadin.spring.server.SpringVaadinServletService
All Implemented Interfaces:
Serializable

public class SpringVaadinServletService
extends com.vaadin.server.VaadinServletService

Servlet service class that allows customization of the service URL (client-server communication base URL).

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.vaadin.server.VaadinService
URL_PARAMETER_CLOSE_APPLICATION, URL_PARAMETER_RESTART_APPLICATION
 
Constructor Summary
SpringVaadinServletService(com.vaadin.server.VaadinServlet servlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration, String serviceUrl)
          Create a servlet service instance that allows the use of a custom service URL.
 
Method Summary
protected  List<com.vaadin.server.RequestHandler> createRequestHandlers()
           
 org.springframework.web.context.WebApplicationContext getWebApplicationContext()
          Find the Spring web application context related to the servlet context.
 
Methods inherited from class com.vaadin.server.VaadinServletService
getApplicationUrl, getBaseDirectory, getCancelingRelativePath, getConfiguredTheme, getConfiguredWidgetset, getCurrentResponse, getCurrentServletRequest, getMainDivId, getMimeType, getServiceName, getServlet, getStaticFileLocation, getThemeResourceAsStream, isStandalone, requestCanCreateSession
 
Methods inherited from class com.vaadin.server.VaadinService
accessSession, addServiceDestroyListener, addSessionDestroyListener, addSessionInitListener, closeSession, createCriticalNotificationJSON, createVaadinSession, criticalNotification, destroy, ensureAccessQueuePurged, ensurePushAvailable, findUI, findVaadinSession, fireSessionDestroy, getClassLoader, getCurrent, getCurrentRequest, getDeploymentConfiguration, getExistingSession, getRequestHandlers, getSessionAttributeName, getSessionLock, getSystemMessages, getSystemMessagesProvider, handleRequest, handleSessionExpired, init, isAtmosphereAvailable, isCsrfTokenValid, isOtherSessionLocked, loadSession, lockSession, preserveUIOnRefresh, readFromHttpSession, reinitializeSession, removeFromHttpSession, removeServiceDestroyListener, removeSession, removeSessionDestroyListener, removeSessionInitListener, requestEnd, requestStart, runPendingAccessTasks, setClassLoader, setCurrent, setCurrentInstances, setDefaultClassLoader, setSystemMessagesProvider, storeSession, unlockSession, verifyNoOtherSessionLocked, writeStringResponse, writeToHttpSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringVaadinServletService

public SpringVaadinServletService(com.vaadin.server.VaadinServlet servlet,
                                  com.vaadin.server.DeploymentConfiguration deploymentConfiguration,
                                  String serviceUrl)
                           throws com.vaadin.server.ServiceException
Create a servlet service instance that allows the use of a custom service URL.

Parameters:
servlet -
deploymentConfiguration -
serviceUrl - custom service URL to use (relative to context path, starting with a slash) or null for default
Throws:
com.vaadin.server.ServiceException
Method Detail

createRequestHandlers

protected List<com.vaadin.server.RequestHandler> createRequestHandlers()
                                                                throws com.vaadin.server.ServiceException
Overrides:
createRequestHandlers in class com.vaadin.server.VaadinServletService
Throws:
com.vaadin.server.ServiceException

getWebApplicationContext

public org.springframework.web.context.WebApplicationContext getWebApplicationContext()
Find the Spring web application context related to the servlet context.



Copyright © 2016 Vaadin Ltd. All Rights Reserved.