public class BridgeRequestAttributeListener
extends java.lang.Object
implements javax.servlet.ServletRequestAttributeListener
This class is designed to support the BridgeRequestScopeAttributeAdded annotation. It has to be specified
as a listener in the WEB-INF/web.xml descriptor like this:
<listener>
<listener-class>com.liferay.faces.bridge.context.map.BridgeRequestAttributeListener</listener-class>
</listener>| Constructor and Description |
|---|
BridgeRequestAttributeListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
attributeAdded(javax.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
This method is called after an attribute is added to the ServletRequest.
|
void |
attributeRemoved(javax.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
This method is called after an attribute is removed from the ServletRequest.
|
void |
attributeReplaced(javax.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
This method is called after an attribute is replaced in the ServletRequest.
|
public void attributeAdded(javax.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
attributeAdded in interface javax.servlet.ServletRequestAttributeListenerpublic void attributeRemoved(javax.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
RequestScopeMap.remove(Object) method. Note that
this should only get called for remote WSRP portlets. For more info, see:
http://issues.liferay.com/browse/FACES-146attributeRemoved in interface javax.servlet.ServletRequestAttributeListenerpublic void attributeReplaced(javax.servlet.ServletRequestAttributeEvent servletRequestAttributeEvent)
RequestScopeMap.remove(Object) method. Note that
this should only get called for remote WSRP portlets. For more info, see:
http://issues.liferay.com/browse/FACES-146attributeReplaced in interface javax.servlet.ServletRequestAttributeListenerCopyright © 2022 Liferay, Inc.. All Rights Reserved.