| java.lang.Object org.jasig.portal.container.services.property.PropertyManagerServiceImpl
PropertyManagerServiceImpl | public class PropertyManagerServiceImpl implements PropertyManagerService(Code) | | The
PropertyManagerServiceImpl is used to pass properties to the
portlet so it can read them via it's
javax.portlet.PortletRequest.getProperty(java.lang.String) methods and so properties set by the portlet via it's
javax.portlet.PortletResponse.setProperty(java.lang.Stringjava.lang.String) methods can be read by uPortal.
Currently all properties set by the portlet are saved into a
WeakHashMap using the
org.apache.pluto.om.window.PortletWindow as the key. This
should ensure that the old properties aren't stored beyond the life of the
user's session.
author: Eric Dalquist edalquist@unicon.net version: $Revision: 36027 $ |
Field Summary | |
protected Log | log |
getRequestProperties | public Map getRequestProperties(PortletWindow window, HttpServletRequest request)(Code) | | Gets the properties that have been set by the portlet. This will pass
any properties that the portlet has set in the response back into the
portlet's request.
This code also provides a uPortal extension that provides the current
cache expiration time for the portlet via the
RenderResponse.EXPIRATION_CACHE constant.
See Also: org.apache.pluto.services.property.PropertyManagerService.getRequestProperties(org.apache.pluto.om.window.PortletWindowjavax.servlet.http.HttpServletRequest) |
setResponseProperties | public void setResponseProperties(PortletWindow window, HttpServletRequest request, HttpServletResponse response, Map properties)(Code) | | Stores the properties in a
WeakHashMap that is keyed off the
PortletWindow so the properties are removed when the user's
session with the portlet is done.
See Also: org.apache.pluto.services.property.PropertyManagerService.setResponseProperties(org.apache.pluto.om.window.PortletWindowjavax.servlet.http.HttpServletRequestjavax.servlet.http.HttpServletResponsejava.util.Map) |
|
|