| org.apache.jetspeed.aggregator.PortletRenderer
All known Subclasses: org.apache.jetspeed.aggregator.impl.PortletRendererImpl,
PortletRenderer | public interface PortletRenderer (Code) | | PortletRendererService
Jetspeed-2 Rendering service.
This service process all portlet rendering requests and interfaces with the portlet
container to generate the resulting markup
author: Rapha�l Luta author: David Sean Taylor author: Woonsan Ko version: $Id: PortletRenderer.java 591867 2007-11-05 02:20:06Z woonsan $ |
Method Summary | |
public void | addTitleToHeader(PortletWindow portletWindow, ContentFragment fragment, HttpServletRequest request, HttpServletResponse response, ContentDispatcherCtrl dispatcher, boolean isCacheTitle) Set title of portlet window. | public RenderingJob | createRenderingJob(ContentFragment fragment, RequestContext request) Create a rendering job for the specified Page fragment. | public ContentDispatcher | getDispatcher(RequestContext request, boolean isParallel) | PortletTrackingManager | getPortletTrackingManager() | public void | notifyContentComplete(PortletContent content) | public void | processRenderingJob(RenderingJob job) Render the specified rendering job. | public RenderingJob | render(ContentFragment fragment, RequestContext request) Render the specified Page fragment. | public void | renderNow(ContentFragment fragment, RequestContext request) Render the specified Page fragment. | public void | renderNow(ContentFragment fragment, HttpServletRequest request, HttpServletResponse response) Render the specified Page fragment. | public void | waitForRenderingJobs(List renderingJobs) Wait for all rendering jobs in the collection to finish successfully or otherwise. |
addTitleToHeader | public void addTitleToHeader(PortletWindow portletWindow, ContentFragment fragment, HttpServletRequest request, HttpServletResponse response, ContentDispatcherCtrl dispatcher, boolean isCacheTitle)(Code) | | Set title of portlet window.
Parameters: portletWindow - Parameters: fragment - Parameters: request - Parameters: response - Parameters: dispatcher - Parameters: isCacheTitle - |
notifyContentComplete | public void notifyContentComplete(PortletContent content)(Code) | | Notify that content completed by worker jobs
So that renderer can update its state
Parameters: content - |
processRenderingJob | public void processRenderingJob(RenderingJob job)(Code) | | Render the specified rendering job.
The method returns before rendering is complete when the job is processed in parallel mode.
When the job is not parallel mode, it returns after rendering is complete.
throws: FailedToRenderFragmentException - |
render | public RenderingJob render(ContentFragment fragment, RequestContext request)(Code) | | Render the specified Page fragment.
The method returns before rendering is complete, rendered content can be
accessed through the ContentDispatcher
the asynchronous portlet rendering job to synchronize |
waitForRenderingJobs | public void waitForRenderingJobs(List renderingJobs)(Code) | | Wait for all rendering jobs in the collection to finish successfully or otherwise.
Parameters: renderingJobs - the Collection of rendering job objects to wait for. |
|
|