aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt/server/PortletApplicationContext.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2011-08-19 12:54:47 +0000
committerLeif Åstrand <leif@vaadin.com>2011-08-19 12:54:47 +0000
commit948aca0a6fceb8d9bcd659bc13926d2b95ac395d (patch)
tree62346b168919d4d7b8cc5844443b4431caf2127c /src/com/vaadin/terminal/gwt/server/PortletApplicationContext.java
parent2ff00c1bfdc5b62c7dca469d428fbef1a672ab52 (diff)
downloadvaadin-framework-948aca0a6fceb8d9bcd659bc13926d2b95ac395d.tar.gz
vaadin-framework-948aca0a6fceb8d9bcd659bc13926d2b95ac395d.zip
#6094 Add a way to switch session key
svn changeset:20519/svn branch:6.7
Diffstat (limited to 'src/com/vaadin/terminal/gwt/server/PortletApplicationContext.java')
-rw-r--r--src/com/vaadin/terminal/gwt/server/PortletApplicationContext.java11
1 files changed, 11 insertions, 0 deletions
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);
}