Package com.vaadin.osgi.liferay
Class OsgiVaadinPortletService
- java.lang.Object
-
- com.vaadin.server.VaadinService
-
- com.vaadin.portlet.VaadinPortletService
-
- com.vaadin.osgi.liferay.OsgiVaadinPortletService
-
- All Implemented Interfaces:
Serializable
public class OsgiVaadinPortletService extends VaadinPortletService
VaadinPortletServiceclass that uses theOsgiUIProviderto configure theUIclass for aVaadinPortlet.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(VaadinPortlet portlet, DeploymentConfiguration deploymentConfiguration, OsgiUIProvider osgiUIProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VaadinSessioncreateVaadinSession(VaadinRequest request)-
Methods inherited from class com.vaadin.portlet.VaadinPortletService
createRequestHandlers, getBaseDirectory, getConfiguredTheme, getConfiguredWidgetset, getCurrentPortletRequest, getCurrentRequest, getCurrentResponse, getMainDivId, getMimeType, getPortlet, getRequestType, getServiceName, getSessionLock, getStaticFileLocation, getThemeResourceAsStream, handleSessionExpired, isStandalone, preserveUIOnRefresh, readFromHttpSession, removeFromHttpSession, requestCanCreateSession, setSessionLock, writeToHttpSession
-
Methods inherited from class com.vaadin.server.VaadinService
accessSession, addServiceDestroyListener, addSessionDestroyListener, addSessionInitListener, cleanupSession, closeSession, createCriticalNotificationJSON, criticalNotification, destroy, ensureAccessQueuePurged, ensurePushAvailable, findUI, findVaadinSession, fireSessionDestroy, generateConnectorId, getApplicationUrl, getClassLoader, getCurrent, getDependencyFilters, getDeploymentConfiguration, getExistingSession, getLockAttributeName, getRequestHandlers, getServiceInitListeners, getSessionAttributeName, 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, writeUncachedStringResponse
-
-
-
-
Constructor Detail
-
OsgiVaadinPortletService
public OsgiVaadinPortletService(VaadinPortlet portlet, DeploymentConfiguration deploymentConfiguration, OsgiUIProvider osgiUIProvider) throws ServiceException
- Throws:
ServiceException
-
-
Method Detail
-
createVaadinSession
protected VaadinSession createVaadinSession(VaadinRequest request) throws ServiceException
- Overrides:
createVaadinSessionin classVaadinPortletService- Throws:
ServiceException
-
-