com.liferay.faces.bridge.scope.internal
Class BridgeRequestScopeManagerImpl
java.lang.Object
com.liferay.faces.bridge.scope.internal.BridgeRequestScopeManagerImpl
- All Implemented Interfaces:
- BridgeRequestScopeManager
public class BridgeRequestScopeManagerImpl
- extends Object
- implements BridgeRequestScopeManager
- Author:
- Neil Griffin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BridgeRequestScopeManagerImpl
public BridgeRequestScopeManagerImpl()
removeBridgeRequestScopesByPortlet
public void removeBridgeRequestScopesByPortlet(javax.portlet.PortletConfig portletConfig)
- Specified by:
removeBridgeRequestScopesByPortlet in interface BridgeRequestScopeManager
removeBridgeRequestScopesBySession
public void removeBridgeRequestScopesBySession(javax.servlet.http.HttpSession httpSession)
- This method is designed to be invoked from a
HttpSessionListener like BridgeSessionListener when a session timeout/expiration occurs. The logic in this method is a little awkward
because we have to try and remove BridgeRequestScope instances from Map instances in the ServletContext rather than the PortletContext because we only have access to the Servlet-API when
sessions expire.
- Specified by:
removeBridgeRequestScopesBySession in interface BridgeRequestScopeManager
Copyright © 2015 Liferay, Inc.. All rights reserved.