From 948aca0a6fceb8d9bcd659bc13926d2b95ac395d Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Fri, 19 Aug 2011 12:54:47 +0000 Subject: #6094 Add a way to switch session key svn changeset:20519/svn branch:6.7 --- .../vaadin/terminal/gwt/server/PortletApplicationContext.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/com/vaadin/terminal/gwt/server/PortletApplicationContext.java') diff --git a/src/com/vaadin/terminal/gwt/server/PortletApplicationContext.java b/src/com/vaadin/terminal/gwt/server/PortletApplicationContext.java index 49d40cbc62..79f2230588 100644 --- a/src/com/vaadin/terminal/gwt/server/PortletApplicationContext.java +++ b/src/com/vaadin/terminal/gwt/server/PortletApplicationContext.java @@ -95,6 +95,17 @@ public class PortletApplicationContext extends WebApplicationContext implements super.removeApplication(application); } + /** + * Reinitializing the session is not supported from portlets. + * + * @see com.vaadin.terminal.gwt.server.WebApplicationContext#reinitializeSession() + */ + @Override + public void reinitializeSession() { + throw new UnsupportedOperationException( + "Reinitializing the session is not supported from portlets"); + } + public void setPortletApplication(Portlet portlet, Application app) { portletToApplication.put(portlet, app); } -- cgit v1.2.3