com.liferay.faces.bridge.scope
Class BridgeRequestScopeManagerWrapper

java.lang.Object
  extended by com.liferay.faces.bridge.scope.BridgeRequestScopeManagerWrapper
All Implemented Interfaces:
BridgeRequestScopeManager, javax.faces.FacesWrapper<BridgeRequestScopeManager>

public abstract class BridgeRequestScopeManagerWrapper
extends Object
implements BridgeRequestScopeManager, javax.faces.FacesWrapper<BridgeRequestScopeManager>

Author:
Neil Griffin

Constructor Summary
BridgeRequestScopeManagerWrapper()
           
 
Method Summary
abstract  BridgeRequestScopeManager getWrapped()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BridgeRequestScopeManagerWrapper

public BridgeRequestScopeManagerWrapper()
Method Detail

removeBridgeRequestScopesByPortlet

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

Specified by:
removeBridgeRequestScopesByPortlet in interface BridgeRequestScopeManager
Parameters:
portletConfig - The current PortletConfig.

removeBridgeRequestScopesBySession

public void removeBridgeRequestScopesBySession(javax.servlet.http.HttpSession httpSession)
Description copied from interface: BridgeRequestScopeManager
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.

Specified by:
removeBridgeRequestScopesBySession in interface BridgeRequestScopeManager
Parameters:
httpSession - The current HttpSession.

getWrapped

public abstract BridgeRequestScopeManager getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<BridgeRequestScopeManager>


Copyright © 2015 Liferay, Inc.. All rights reserved.