diff options
author | Leif Åstrand <leif@vaadin.com> | 2011-08-19 12:54:47 +0000 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2011-08-19 12:54:47 +0000 |
commit | 948aca0a6fceb8d9bcd659bc13926d2b95ac395d (patch) | |
tree | 62346b168919d4d7b8cc5844443b4431caf2127c /src/com/vaadin/terminal/gwt/server/PortletApplicationContext.java | |
parent | 2ff00c1bfdc5b62c7dca469d428fbef1a672ab52 (diff) | |
download | vaadin-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.java | 11 |
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); } |