org.apache.jetspeed.aggregator.impl
Class AsyncPageAggregatorImpl
java.lang.Object
org.apache.jetspeed.aggregator.impl.AsyncPageAggregatorImpl
- All Implemented Interfaces:
- org.apache.jetspeed.aggregator.Aggregator, org.apache.jetspeed.aggregator.PageAggregator
public class AsyncPageAggregatorImpl
- extends Object
- implements org.apache.jetspeed.aggregator.PageAggregator
Asynchronous Page Aggregator builds the content required to render a
page of portlets by rendering the portlets in parallel. Each portlet is
rendered on its own thread. A work manager handles the thread pooling
and synchronization of worker threads.
- Version:
- $Id: $
- Author:
- David Sean Taylor , Woonsan Ko
Method Summary |
protected void |
aggregateAndRender(org.apache.jetspeed.om.page.ContentFragment f,
org.apache.jetspeed.request.RequestContext context,
org.apache.jetspeed.om.page.ContentPage page,
boolean isRoot,
List sequentialJobs,
List parallelJobs,
List layoutFragments)
|
void |
build(org.apache.jetspeed.request.RequestContext context)
Builds the portlet set defined in the context into a portlet tree. |
protected void |
renderMaximizedWindow(org.apache.jetspeed.request.RequestContext context,
org.apache.jetspeed.om.page.ContentPage page,
org.apache.jetspeed.om.page.ContentFragment layoutContentFragment,
org.apache.pluto.om.window.PortletWindow window)
renderMaximizedWindow |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
renderer
protected org.apache.jetspeed.aggregator.PortletRenderer renderer
fallBackContentPathes
protected List fallBackContentPathes
AsyncPageAggregatorImpl
public AsyncPageAggregatorImpl(org.apache.jetspeed.aggregator.PortletRenderer renderer)
build
public void build(org.apache.jetspeed.request.RequestContext context)
throws org.apache.jetspeed.exception.JetspeedException,
IOException
- Builds the portlet set defined in the context into a portlet tree.
- Specified by:
build
in interface org.apache.jetspeed.aggregator.Aggregator
- Throws:
org.apache.jetspeed.exception.JetspeedException
IOException
renderMaximizedWindow
protected void renderMaximizedWindow(org.apache.jetspeed.request.RequestContext context,
org.apache.jetspeed.om.page.ContentPage page,
org.apache.jetspeed.om.page.ContentFragment layoutContentFragment,
org.apache.pluto.om.window.PortletWindow window)
throws org.apache.jetspeed.aggregator.FailedToRenderFragmentException
renderMaximizedWindow
- Parameters:
context
- page
- layoutContentFragment
- defaultPortletDecorator
- dispatcher
- window
-
- Throws:
FailedToRenderContentFragmentException
org.apache.jetspeed.aggregator.FailedToRenderFragmentException
aggregateAndRender
protected void aggregateAndRender(org.apache.jetspeed.om.page.ContentFragment f,
org.apache.jetspeed.request.RequestContext context,
org.apache.jetspeed.om.page.ContentPage page,
boolean isRoot,
List sequentialJobs,
List parallelJobs,
List layoutFragments)
throws org.apache.jetspeed.aggregator.FailedToRenderFragmentException
- Throws:
org.apache.jetspeed.aggregator.FailedToRenderFragmentException
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.