Class OsgiVaadinPortletService

  • All Implemented Interfaces:
    Serializable

    public class OsgiVaadinPortletService
    extends com.vaadin.server.VaadinPortletService
    VaadinPortletService class that uses the OsgiUIProvider to configure the UI class for a VaadinPortlet.

    This only applies to Liferay Portal 7+ with OSGi support.

    Since:
    8.1
    Author:
    Sampsa Sohlman
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class com.vaadin.server.VaadinService

        URL_PARAMETER_CLOSE_APPLICATION, URL_PARAMETER_RESTART_APPLICATION
    • Constructor Summary

      Constructors 
      Constructor Description
      OsgiVaadinPortletService​(com.vaadin.server.VaadinPortlet portlet, com.vaadin.server.DeploymentConfiguration deploymentConfiguration, OsgiUIProvider osgiUIProvider)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.vaadin.server.VaadinSession createVaadinSession​(com.vaadin.server.VaadinRequest request)  
      • Methods inherited from class com.vaadin.server.VaadinPortletService

        createRequestHandlers, getBaseDirectory, getConfiguredTheme, getConfiguredWidgetset, getCurrentPortletRequest, getCurrentRequest, getCurrentResponse, getMainDivId, getMimeType, getPortlet, getRequestType, getServiceName, getStaticFileLocation, getThemeResourceAsStream, handleSessionExpired, isStandalone, preserveUIOnRefresh, readFromHttpSession, removeFromHttpSession, requestCanCreateSession, writeToHttpSession
      • Methods inherited from class com.vaadin.server.VaadinService

        accessSession, addServiceDestroyListener, addSessionDestroyListener, addSessionInitListener, closeSession, createCriticalNotificationJSON, criticalNotification, destroy, ensureAccessQueuePurged, ensurePushAvailable, findUI, findVaadinSession, fireSessionDestroy, generateConnectorId, getApplicationUrl, getClassLoader, getCurrent, getDependencyFilters, getDeploymentConfiguration, getExistingSession, getRequestHandlers, getServiceInitListeners, getSessionAttributeName, getSessionLock, getSystemMessages, getSystemMessagesProvider, handleRequest, init, initConnectorIdGenerator, initDependencyFilters, isAtmosphereAvailable, isCsrfTokenValid, isOtherSessionLocked, isUIActive, loadSession, lockSession, reinitializeSession, removeServiceDestroyListener, removeSession, removeSessionDestroyListener, removeSessionInitListener, requestEnd, requestStart, runPendingAccessTasks, setClassLoader, setCurrent, setCurrentInstances, setDefaultClassLoader, setSystemMessagesProvider, storeSession, unlockSession, verifyNoOtherSessionLocked, writeStringResponse
    • Constructor Detail

      • OsgiVaadinPortletService

        public OsgiVaadinPortletService​(com.vaadin.server.VaadinPortlet portlet,
                                        com.vaadin.server.DeploymentConfiguration deploymentConfiguration,
                                        OsgiUIProvider osgiUIProvider)
                                 throws com.vaadin.server.ServiceException
        Throws:
        com.vaadin.server.ServiceException
    • Method Detail

      • createVaadinSession

        protected com.vaadin.server.VaadinSession createVaadinSession​(com.vaadin.server.VaadinRequest request)
                                                               throws com.vaadin.server.ServiceException
        Overrides:
        createVaadinSession in class com.vaadin.server.VaadinPortletService
        Throws:
        com.vaadin.server.ServiceException