|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BridgeRequestScopeManager
This interface defines a contract for managing a cache of BridgeRequestScope instances.
| Method Summary | |
|---|---|
BridgeRequestScope |
getBridgeRequestScope(BridgeContext bridgeContext)
Either returns an existing BridgeRequestScope associated with the specified FacesContext from the
underlying cache or returns a new one. |
void |
removeBridgeRequestScope(BridgeRequestScope bridgeRequestScope,
BridgeContext bridgeContext)
Removes the specified BridgeRequestScope associated with the specified FacesContext from the
underlying cache. |
void |
removeBridgeRequestScopesByPortlet(BridgeContext bridgeContext)
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 |
|---|
void removeBridgeRequestScope(BridgeRequestScope bridgeRequestScope,
BridgeContext bridgeContext)
BridgeRequestScope associated with the specified FacesContext from the
underlying cache. This method should be called if an exception occurs that somehow invalidates the
BridgeRequestScope.
bridgeRequestScope - The BridgeRequestScope that is to be removed.bridgeContext - The current BridgeContext.void removeBridgeRequestScopesByPortlet(BridgeContext bridgeContext)
BridgeRequestScope instances that are associated with the specified FacesContext.
This should be called if the portlet container unloads an portlet individually.
bridgeContext - The current BridgeContext.void removeBridgeRequestScopesBySession(javax.servlet.http.HttpSession httpSession)
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.
httpSession - The current HttpSession.BridgeRequestScope getBridgeRequestScope(BridgeContext bridgeContext)
BridgeRequestScope associated with the specified FacesContext from the
underlying cache or returns a new one.
bridgeContext - The current BridgeContext.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||