com.liferay.faces.bridge.scope
Interface BridgeRequestScopeManager

All Known Implementing Classes:
BridgeRequestScopeManagerImpl

public interface BridgeRequestScopeManager

This interface defines a contract for managing a cache of BridgeRequestScope instances.

Author:
Neil Griffin

Method Summary
 void removeBridgeRequestScopesByPortlet(javax.portlet.PortletConfig portletConfig)
          Removes all BridgeRequestScope instances that are associated with the specified FacesContext.
 void removeBridgeRequestScopesBySession(javax.servlet.http.HttpSession httpSession)
          Removes all of the BridgeRequestScope instances from the underlying cache that are associated with the specified HttpSession.
 

Method Detail

removeBridgeRequestScopesByPortlet

void removeBridgeRequestScopesByPortlet(javax.portlet.PortletConfig portletConfig)
Removes all BridgeRequestScope instances that are associated with the specified FacesContext. This should be called if the portlet container unloads an portlet individually.

Parameters:
portletConfig - The current PortletConfig.

removeBridgeRequestScopesBySession

void removeBridgeRequestScopesBySession(javax.servlet.http.HttpSession httpSession)
Removes all of the BridgeRequestScope instances from the underlying cache that are associated with the specified HttpSession. This method is meant to be called from a HttpSessionListener when a session is invalidated or expires.

Parameters:
httpSession - The current HttpSession.


Copyright © 2014 Liferay, Inc.. All Rights Reserved.