[url]http://portals.apache.org/jetspeed-2/deployguide/guide-aggregation.html[/url]
配置 pipelines.xml 中 aggregatorValve 的构造函数参数即可切换异步/同步。
异步、同步聚合的影响,以及使用场景限制。
1. 多线程
a. 在jetspeed-portlet.xml设置单个portlet所需要的渲染时间。如果设置了渲染时间,则portlet不会再主线程以外的线程被渲染。 i.e. in sequential, unless this timeout parameter exists in the jetspeed-portlet.xml.
[url]http://portals.apache.org/jetspeed-2/usersguide/desktop.html[/url]
[url]http://portals.apache.org/jetspeed-2/devguide/guide-portal-design.html[/url]
The documentation here under "Portal Design" covers:
• Page Aggregation - see the section on PSML
• Page and Portlet Decorators
• Page Layouts
• The Jetspeed Power Tool
• Template Locators
• Terminology
[url]http://portals.apache.org/jetspeed-2/deployguide/guide-menus-declarative-psml.html[/url]
[url]http://portals.apache.org/jetspeed-2/deployguide/guide-content-mapping-psml.html[/url]
page-manager.xml
bean:org.apache.jetspeed.portalsite.PortalSiteContentTypeMapper(2.2.2)
[url]http://portals.apache.org/jetspeed-2/deployguide/guide-jetui.html[/url]
配置 pipelines.xml 中 aggregatorValve 的构造函数参数即可切换异步/同步。
异步、同步聚合的影响,以及使用场景限制。
1. 多线程
a. 在jetspeed-portlet.xml设置单个portlet所需要的渲染时间。如果设置了渲染时间,则portlet不会再主线程以外的线程被渲染。 i.e. in sequential, unless this timeout parameter exists in the jetspeed-portlet.xml.
[url]http://portals.apache.org/jetspeed-2/usersguide/desktop.html[/url]
[url]http://portals.apache.org/jetspeed-2/devguide/guide-portal-design.html[/url]
The documentation here under "Portal Design" covers:
• Page Aggregation - see the section on PSML
• Page and Portlet Decorators
• Page Layouts
• The Jetspeed Power Tool
• Template Locators
• Terminology
[url]http://portals.apache.org/jetspeed-2/deployguide/guide-menus-declarative-psml.html[/url]
[url]http://portals.apache.org/jetspeed-2/deployguide/guide-content-mapping-psml.html[/url]
page-manager.xml
bean:org.apache.jetspeed.portalsite.PortalSiteContentTypeMapper(2.2.2)
[url]http://portals.apache.org/jetspeed-2/deployguide/guide-jetui.html[/url]